mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 05:26:28 +02:00
25 lines
560 B
Bash
Executable file
25 lines
560 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# echo "Printing Empty Directory"
|
|
# ls -R -a
|
|
|
|
# echo "Printing piston files"
|
|
cd /piston/packages/gleam/0.27.0/
|
|
# ls -R -a
|
|
|
|
|
|
gleam new project --skip-git
|
|
mkdir project/build
|
|
cp /piston/packages/gleam/0.27.0/template_project/build project -r -u -p
|
|
cp /piston/packages/gleam/0.27.0/template_project/manifest.toml project/manifest.toml
|
|
|
|
# cp template_project/build project -r -u -p
|
|
# cp template_project/manifest.toml project/manifest.toml
|
|
|
|
cat $1 > project/src/project.gleam
|
|
|
|
cd project
|
|
# echo "Printing Copied Files"
|
|
# ls -R -a
|
|
gleam build
|
|
|