OSDN Git Service

Add initEnv.sh for first trial after download.
author平田健悟 <hiratakengo@hiratakengo-no-MacBook-Pro.local>
Thu, 2 Feb 2017 06:29:07 +0000 (15:29 +0900)
committer平田健悟 <hiratakengo@hiratakengo-no-MacBook-Pro.local>
Thu, 2 Feb 2017 06:29:07 +0000 (15:29 +0900)
new file:   initEnv.sh

initEnv.sh [new file with mode: 0755]

diff --git a/initEnv.sh b/initEnv.sh
new file mode 100755 (executable)
index 0000000..dac7ad4
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+for i in node_modules/ front-end/typings/ user-specific-files/OptionControlFile/ user-specific-files/meta/ user-specific-files/workspace/ user-specific-files/workspace.debug/ user-specific-files/db/ user-specific-files/tmp/ ; do 
+       echo $i;
+       if [ ! -d $i ] ; then
+               echo "$i is created."   ;
+               mkdir $i;
+       fi      
+done