forked from solstice/docs
31 lines
945 B
Markdown
31 lines
945 B
Markdown
|
|
# Automated Build Script
|
||
|
|
|
||
|
|
This method requires the following installed:
|
||
|
|
|
||
|
|
* uthash (in `/usr/include` or similar)
|
||
|
|
* A gcc-compatible C compiler linked to `cc`
|
||
|
|
* GCC and Clang are both tested and will yield similar results.
|
||
|
|
* Git (to get source code)
|
||
|
|
* Make (to organise building the code)
|
||
|
|
|
||
|
|
Refer to [Build Dependencies](build_dependencies.md) for instructions on how to install dependencies.
|
||
|
|
|
||
|
|
## Running the installer
|
||
|
|
|
||
|
|
Run this command in your terminal:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
bash -c "$(curl -fsSL https://sols.dev/install.sh)"
|
||
|
|
```
|
||
|
|
|
||
|
|
This will:
|
||
|
|
|
||
|
|
* Download a shell script from `https://sols.dev/install.sh`
|
||
|
|
* Run the contents of the shell script in the `bash` command interpreter
|
||
|
|
|
||
|
|
The script does the following:
|
||
|
|
|
||
|
|
* Checks if Ground and Solstice are installed on your system.
|
||
|
|
* If either Ground or Solstice aren't avaliable, it will download, build, and install the source code.
|
||
|
|
* If Ground or Solstice are installed, it will update them to the latest version.
|