mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 05:56:26 +02:00
pkg(pony-0.39.0): Setup compile script.
This commit is contained in:
parent
983a91adae
commit
4ec436fdce
2 changed files with 8 additions and 1 deletions
4
packages/ponylang/0.39.0/compile
vendored
Normal file
4
packages/ponylang/0.39.0/compile
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Compile pony file(s)
|
||||||
|
ponyc -b out
|
5
packages/ponylang/0.39.0/run
vendored
5
packages/ponylang/0.39.0/run
vendored
|
@ -1,3 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ponyc "$@"
|
# removes the first arg from $@, which is always the filename
|
||||||
|
shift
|
||||||
|
# runs the <outfile> executable with whatever args are left in $@
|
||||||
|
./out "$@"
|
Loading…
Add table
Add a link
Reference in a new issue