shithub: ricket

ref: 6b0f6799a17b98a6ee64b7ac3fa974019f5d4597
dir: /package.rc/

View raw version
#!/bin/rc

flagfmt='o:out out'
args='wasmfile'
if(! eval `''{aux/getflags $*} || ~ $#* 0)
	exec aux/usage
if(~ $#out 0)
	out = wasm.out
{echo '#!/bin/ricket/run'; cat $1} > $out
chmod +x $out