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