Service interface for additional utilities

This commit is contained in:
2019-09-19 00:07:25 +09:00
parent e4b698878f
commit 40714ac5df
39 changed files with 4105 additions and 2312 deletions
+5 -4
View File
@@ -1,11 +1,12 @@
#!/bin/sh
export ZOMP_DIR="${ZOMP_DIR:-$HOME/.zomp}"
version=$(cat "$ZOMP_DIR/etc/version.txt")
export ZX_DIR="$ZOMP_DIR/lib/otpr/zx/$version"
. "$HOME"/.bash_profile
export ZOMP_DIR="${ZOMP_DIR:-$HOME/zomp}"
export ZX_VERSION=$(cat "$ZOMP_DIR/etc/version.txt")
export ZX_DIR="$ZOMP_DIR/lib/otpr/zx/$ZX_VERSION"
start_dir="$PWD"
cd "$ZX_DIR"
./make_zx
cd "$start_dir"
erl -pa "$ZX_DIR/ebin" -run zx do $@
erl -pa "$ZX_DIR/ebin" -run zx do -extra $@