This commit is contained in:
2018-05-28 08:33:04 +09:00
parent c7b49eac69
commit 7e79c4393f
17 changed files with 478 additions and 161 deletions
+8 -10
View File
@@ -1,13 +1,11 @@
#!/bin/sh
#!/bin/bash
set -x
ZX_DEV_ROOT=$(dirname $BASH_SOURCE)
ZOMP_DIR="$ZX_DEV_ROOT/zomp"
VERSION=$(cat "$ZOMP_DIR/etc/version.txt")
ZX_DIR="$ZOMP_DIR/lib/otpr/zx/$VERSION"
ZOMP_DIR="$HOME/vcs/zx/zomp"
ORIGIN="$(pwd)"
VERSION="$(ls $ZOMP_DIR/lib/otpr-zx/ | sort --field-separator=. --reverse | head --lines=1)"
ZX_DIR="$ZOMP_DIR/lib/otpr-zx/$VERSION"
cd "$ZX_DIR"
./zmake
cd "$ZOMP_DIR"
pushd "$ZX_DIR"
./make_zx
popd
erl -pa "$ZX_DIR/ebin" -run zx start $@