mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-10 18:34:18 +08:00
11 lines
324 B
Bash
Executable File
11 lines
324 B
Bash
Executable File
#!/bin/sh
|
|
# compile and load with the shipped ucode.
|
|
#
|
|
|
|
shunt 2>&1 | grep 'usage: shunt' || exit 1
|
|
|
|
ucode -e 'import * as a from "shunt.config"; import * as b from "shunt.nft";
|
|
import * as c from "shunt.dns"; import * as d from "shunt.frame";
|
|
import * as e from "shunt.match"; print("modules-ok\n");' |
|
|
grep 'modules-ok'
|