mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 21:46:27 +02:00
install stdlib
This commit is contained in:
parent
06495158d4
commit
319d243903
2 changed files with 8 additions and 1 deletions
8
packages/gleam/0.27.0/build.sh
vendored
8
packages/gleam/0.27.0/build.sh
vendored
|
@ -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
|
||||||
|
|
1
packages/gleam/0.27.0/compile
vendored
1
packages/gleam/0.27.0/compile
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue