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 source ./environment
# Install the standard library # Install the standard library
gleam new template_project --skip-git gleam new project --skip-git
cd template_project cd project
gleam build --target=javascript gleam build --target=javascript

View file

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