diff --git a/Makefile b/Makefile index ea0bfa5..aa81dc0 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ events: deno run --unstable --allow-read utils/events.js schema: - deno run --unstable --allow-read --allow-write utils/schema.js + deno run --unstable --allow-read utils/exec.js schemas server: cd dist && python -m SimpleHTTPServer 8000 diff --git a/utils/exec.js b/utils/exec.js index 1817c82..094cf4f 100644 --- a/utils/exec.js +++ b/utils/exec.js @@ -6,4 +6,7 @@ await utxo.init(); let cmd = Deno.args[0] || "build"; let args = Deno.args.slice(1) || []; -await utxo[cmd](...args); +const output = await utxo[cmd](...args); +if (output) { + console.log(output); +}