diff --git a/.gitignore b/.gitignore index 0c77a95..772d2fb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.swp *.pyc _rg/*.data +demo/_rg/*.data cscope.* *.log tags diff --git a/demo/rgdemo b/demo/rgdemo deleted file mode 100755 index 7762746..0000000 --- a/demo/rgdemo +++ /dev/null @@ -1,5 +0,0 @@ -abs_path() { odir=`pwd`; cd `dirname $1`; pwd; cd "${odir}"; } -MYDIR=`abs_path "$0"` -python $MYDIR/src/rg $* -c $MYDIR/demo/_rg/run.yaml - - diff --git a/myrg.bashrc b/myrg.bashrc deleted file mode 100644 index a19324b..0000000 --- a/myrg.bashrc +++ /dev/null @@ -1,4 +0,0 @@ -RG_ROOT=$HOME/devspace/rigger-ng/src -alias rg='$RG_ROOT/rg' -alias srg='sudo $RG_ROOT/rg' -VER=`cat $RG_ROOT/version.txt` diff --git a/setup/mac.sh b/setup/mac.sh index 159cfd7..a074519 100755 --- a/setup/mac.sh +++ b/setup/mac.sh @@ -1,5 +1,14 @@ DST=${HOME}/rigger-ng PKG=${HOME}/devspace/rigger-ng/src + +unlink $DST ln -s $PKG $DST cd $DST ; ./setup.sh mac.py +cd /usr/local/bin +sudo unlink rg +sudo ln -s ${DST}/rg rg + + +echo "Welcome use Rigger-NG! " +echo "eg: rg help"