File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ echo off
2
+ if =%1 -== -- echo " Usage: install_all.cmd [coderbase]" & exit /b
3
+
4
+ set base = %1
5
+
6
+ REM Create base folder
7
+ IF NOT EXIST %base% (
8
+ mkdir %base%
9
+ )
10
+
11
+ echo " Copying base files...."
12
+ xcopy ..\common-base\*.* %base% /E
13
+
14
+ echo " Installing common files"
15
+ call install_common.cmd %base%
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # #
4
+ # # Copies the common platform apps to
5
+ # # the coder-base working directory.
6
+ # #
7
+ # # sh install_all base_path
8
+ # #
9
+ # # Eg.
10
+ # # sh install_all ../coder-base/
11
+
12
+ if [ $# != 1 ]
13
+ then
14
+ echo -e " \nUse:\ninstall_all coderbase\n"
15
+ exit
16
+ fi
17
+
18
+ base=$1
19
+
20
+ mkdir -p $base
21
+ cp ../coder-base/* $base /
22
+ ./install_common.sh $base
You can’t perform that action at this time.
0 commit comments