Adjust dev scripts. Make interaction better.

This commit is contained in:
2018-06-01 18:46:37 +09:00
parent aaf4ec124c
commit 1e6132f7e5
9 changed files with 460 additions and 271 deletions
Executable
+11
View File
@@ -0,0 +1,11 @@
#!/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"
start_dir="$PWD"
cd "$ZX_DIR"
./make_zx
cd "$start_dir"
erl -pa "$ZX_DIR/ebin" -run zx do $@