install stdlib

This commit is contained in:
Lunarmagpie 2023-03-09 03:18:49 -05:00
parent 06495158d4
commit 319d243903
2 changed files with 8 additions and 1 deletions

View file

@ -7,3 +7,11 @@ source ../../erlang/23.0.0/build.sh
curl -L "https://github.com/gleam-lang/gleam/releases/download/v0.27.0/gleam-v0.27.0-x86_64-unknown-linux-musl.tar.gz" --output gleam.tar.gz curl -L "https://github.com/gleam-lang/gleam/releases/download/v0.27.0/gleam-v0.27.0-x86_64-unknown-linux-musl.tar.gz" --output gleam.tar.gz
mkdir gleam mkdir gleam
tar -xf gleam.tar.gz -C gleam tar -xf gleam.tar.gz -C gleam
# Update path
source ./environment
# Install the standard library
gleam new project --skip-git
cd project
gleam build

View file

@ -1,6 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
gleam new project
cat $1 > project/src/project.gleam cat $1 > project/src/project.gleam
cd project cd project
gleam build gleam build