shithub: ricket

ref: 3cca6a3a91f048d7b1d3732dd99950279d41c85d
dir: /package.rc/

View raw version
#!/bin/rc

flagfmt='o: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