project -> template project

This commit is contained in:
Lunarmagpie 2023-03-10 04:40:20 -05:00
parent d7aadca169
commit 0626714ec8
2 changed files with 7 additions and 7 deletions

View file

@ -15,6 +15,6 @@ tar -xf gleam.tar.gz -C gleam
source ./environment
# Install the standard library
gleam new template_project --skip-git
cd template_project
gleam new project --skip-git
cd project
gleam build --target=javascript

View file

@ -10,16 +10,16 @@
gleam new project --skip-git
mkdir project/build
cp /piston/packages/gleam/0.27.0/template_project/build* project -r
cp /piston/packages/gleam/0.27.0/template_project/manifest.toml project/manifest.toml
cp /piston/packages/gleam/0.27.0/project/build* project -r
cp /piston/packages/gleam/0.27.0/project/manifest.toml project/manifest.toml
# cp template_project/build* project -r
# cp template_project/manifest.toml project/manifest.toml
# cp project/build* project -r
# cp project/manifest.toml project/manifest.toml
cat $1 > project/src/project.gleam
cd project
# echo "Printing Copied Files"
# ls -R -a
ls -R -a
gleam build --target=javascript