Add build subcommand and expose compiler

These changes add a build command that writes out a policy.wasm file by
compiling an input query to WASM. These changes also add a simple
compile interface to the rego package.

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
This commit is contained in:
Torin Sandall
2018-10-05 19:36:51 -07:00
parent 622bcbdf9d
commit 09acbbdc7f
3 changed files with 141 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ opa_*
.Dockerfile_*
_release
site.tar.gz
policy.wasm
# runtime artifacts
policies