Separate platform-specific installers
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f "$HOME/.bash_profile" ]
|
||||
then
|
||||
. "$HOME"/.bash_profile
|
||||
fi
|
||||
|
||||
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"
|
||||
if [ ! -f ebin/zx.erl ]
|
||||
then
|
||||
chmod +x make_zx
|
||||
./make_zx
|
||||
fi
|
||||
cd "$start_dir"
|
||||
erl -noshell -pa "$ZX_DIR/ebin" -run zx do -extra $@
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
@ECHO OFF
|
||||
|
||||
REM Prepare the environment for ZX and launch it
|
||||
|
||||
set ZOMP_DIR="%LOCALAPPDATA%\zomp"
|
||||
set ZOMP_DIR=%ZOMP_DIR:"=%
|
||||
set /P ZX_VERSION=<"%ZOMP_DIR%\etc\version.txt"
|
||||
set ZX_DIR=%ZOMP_DIR%\lib\otpr\zx\%ZX_VERSION%
|
||||
set ZX_DIR=%ZX_DIR:"=%
|
||||
pushd "%ZX_DIR%"
|
||||
if not exist ebin\zx.erl "C:\Program Files\erl10.6\bin\escript.exe" make_zx
|
||||
popd
|
||||
"C:\Program Files\erl10.6\bin\erl.exe" -noshell -pa "%ZX_DIR%/ebin" -run zx do -extra %*
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f "$HOME/.bash_profile" ]
|
||||
then
|
||||
. "$HOME"/.bash_profile
|
||||
fi
|
||||
|
||||
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"
|
||||
if [ ! -f ebin/zx.erl ]
|
||||
then
|
||||
chmod +x make_zx
|
||||
./make_zx
|
||||
fi
|
||||
cd "$start_dir"
|
||||
erl -pa "$ZX_DIR/ebin" -run zx do -extra $@
|
||||
@@ -1,13 +0,0 @@
|
||||
@ECHO OFF
|
||||
|
||||
REM Prepare the environment for ZX and launch it
|
||||
|
||||
set ZOMP_DIR="%LOCALAPPDATA%\zomp"
|
||||
set ZOMP_DIR=%ZOMP_DIR:"=%
|
||||
set /P ZX_VERSION=<"%ZOMP_DIR%\etc\version.txt"
|
||||
set ZX_DIR=%ZOMP_DIR%\lib\otpr\zx\%ZX_VERSION%
|
||||
set ZX_DIR=%ZX_DIR:"=%
|
||||
pushd "%ZX_DIR%"
|
||||
if not exist ebin\zx.erl "C:\Program Files\erl10.6\bin\escript.exe" make_zx
|
||||
popd
|
||||
"C:\Program Files\erl10.6\bin\werl.exe" -pa "%ZX_DIR%/ebin" -run zx do -extra %*
|
||||
Reference in New Issue
Block a user