mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
19 lines
437 B
Bash
Executable File
19 lines
437 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
set -e
|
|
shopt -s expand_aliases
|
|
|
|
web="../web/dist/static"
|
|
[ -d "$web" ] || mkdir -p "$web"
|
|
|
|
if [ -z "$PLATFORM" ]; then
|
|
export PLATFORM=$(uname -m)
|
|
fi
|
|
|
|
cargo install --path=./startos --no-default-features --features=js-engine,sdk,cli --locked
|
|
startbox_loc=$(which startbox)
|
|
ln -sf $startbox_loc $(dirname $startbox_loc)/start-cli
|
|
ln -sf $startbox_loc $(dirname $startbox_loc)/start-sdk
|