diff --git a/packages/ponylang/0.39.0/compile b/packages/ponylang/0.39.0/compile new file mode 100644 index 0000000..a412613 --- /dev/null +++ b/packages/ponylang/0.39.0/compile @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# Compile pony file(s) +ponyc -b out \ No newline at end of file diff --git a/packages/ponylang/0.39.0/run b/packages/ponylang/0.39.0/run index f7645d1..8ac647b 100644 --- a/packages/ponylang/0.39.0/run +++ b/packages/ponylang/0.39.0/run @@ -1,3 +1,6 @@ #!/bin/bash -ponyc "$@" \ No newline at end of file +# removes the first arg from $@, which is always the filename +shift +# runs the executable with whatever args are left in $@ +./out "$@" \ No newline at end of file