1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-10-08 03:30:03 +02:00

pkg(pony-0.39.0): Setup compile script.

This commit is contained in:
Shivansh-007 2021-04-02 03:39:46 +05:30
parent 983a91adae
commit 4ec436fdce
2 changed files with 8 additions and 1 deletions
packages/ponylang/0.39.0

4
packages/ponylang/0.39.0/compile vendored Normal file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Compile pony file(s)
ponyc -b out

View file

@ -1,3 +1,6 @@
#!/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 "$@"