mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 21:46:27 +02:00
20 lines
466 B
Bash
Executable file
20 lines
466 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Install Node
|
|
source ../../node/16.3.0/build.sh
|
|
|
|
# Install Erlang
|
|
# source ../../erlang/23.0.0/build.sh
|
|
|
|
# Install Gleam
|
|
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
|
|
tar -xf gleam.tar.gz -C gleam
|
|
|
|
# Update path
|
|
source ./environment
|
|
|
|
# Install the standard library
|
|
gleam new project --skip-git
|
|
cd project
|
|
gleam build --target=javascript
|