Project

volcano

0.0
No commit activity in last 3 years
No release in over 3 years
Package manager for Sardonyx
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.3.0, >= 2.3.0
 Project Readme

Volcano

Volcano is the Sardonyx programming language package manager. It is inspired by Crystal's shards, and it installs packages using Github repos.

Setup

You can install Volcano using gem:

gem install volcano

Installing a Package

You can install a package using volcano install. The argument should be a Github repo. For example, to install the standard library we can use:

volcano install SardonyxLang/SardonyxStd

The first time you run the command, it will prompt you to modify your shell rc file. Please do so. Additionally, you should rerun the rc command after installing a package.

Uninstalling

Packages can be uninstalled using volcano uninstall:

volcano uninstall pkg

Making your own Package

Making your own package is simple. You first publish it as a Github repo. Then you can install it with volcano install yourname/reponame. Volcano adds and .sdx files at the top level and in the lib directory to the SDX_PATH environment variable. So we might lay our project out like this:

main.sdx
lib/
  sub.sdx
  subdir/
    sub2.sdx

Then we can require main, sub, and subdir/sub2.