maybe fix again

This commit is contained in:
Lunarmagpie 2023-03-09 04:00:25 -05:00
parent 18c936fc69
commit 45db55a4ae
4 changed files with 11 additions and 7 deletions

View file

@ -12,7 +12,6 @@ tar -xf gleam.tar.gz -C gleam
source ./environment
# Install the standard library
gleam new project --skip-git
cd project
gleam new template_project --skip-git
cd template_project
gleam update
cd ..

10
packages/gleam/0.27.0/compile vendored Normal file → Executable file
View file

@ -2,6 +2,12 @@
ls -R
cat $1 > project/src/project.gleam
cd project
mkdir gleam_project
cp $PWD/template_project/* gleam_project -r
rm gleam_project/src/template_project.gleam
touch gleam_project/src/gleam_project.gleam
cat $1 > gleam_project/src/gleam_project.gleam
cd gleam_project
gleam build

View file

@ -1,4 +1,3 @@
#!/usr/bin/env bash
export PATH=$PWD:$PATH
export PATH=$PWD/gleam:$PATH
export PATH=$PWD/bin:$PATH

View file

@ -3,5 +3,5 @@
ls -R
shift
cd project
cd gleam_project
gleam run -- "$@"