mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 11:16:27 +02:00
pkg(husk-1.0.0): add husk
This commit is contained in:
parent
2ae63a4d69
commit
7ff87cf0f2
6 changed files with 37 additions and 0 deletions
10
packages/husk/1.0.0/run
vendored
Normal file
10
packages/husk/1.0.0/run
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Store the current path because we'll need it to run the program file
|
||||
PROGRAM_PATH=$PWD
|
||||
|
||||
# For now, Husk can only be run within the folder that has the imported modules
|
||||
cd $HUSK_PATH
|
||||
|
||||
# Run Husk from file in unicode format with the given args
|
||||
./Husk -uf "${PROGRAM_PATH}/${@}"
|
Loading…
Add table
Add a link
Reference in a new issue