/[projects]/misc/xoa-installer/xoa-installer.sh
ViewVC logotype

Diff of /misc/xoa-installer/xoa-installer.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2958 by torben, Mon Feb 29 09:43:57 2016 UTC revision 2959 by torben, Mon Feb 29 09:49:28 2016 UTC
# Line 60  if [ ! -x "/usr/local/bin/node" ] ; then Line 60  if [ ! -x "/usr/local/bin/node" ] ; then
60          n stable || exit          n stable || exit
61  fi  fi
62    
63    if [ ! -x "/usr/local/bin/gulp" ] ; then
64            echo "installing gulp"
65            npm install -x gulp
66    fi
67    
68    
69    
70  if [ ! -d "xo-web" ] ; then  if [ ! -d "xo-web" ] ; then
# Line 81  fi Line 86  fi
86    
87    
88  # xo-server  # xo-server
89    echo "building xo-server"
90  cd xo-server  cd xo-server
91  npm install --unsafe-perm || exit  npm install || exit
92  npm run build || exit  npm run build || exit
93  cd ..  cd ..
94    
95    
96  #xo-web  #xo-web
97    echo "building xo-web"
98  cd xo-web  cd xo-web
99  npm install --unsafe-perm || exit  npm install --unsafe-perm || exit
100  npm run build || exit  npm run build || exit

Legend:
Removed from v.2958  
changed lines
  Added in v.2959

  ViewVC Help
Powered by ViewVC 1.1.20