-
Notifications
You must be signed in to change notification settings - Fork 14
/
Init.bat
51 lines (42 loc) · 1.88 KB
/
Init.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@echo off
setlocal
: Cleans the solution of all files and directories ignored by git, and installs npm packages
set SolutionDir=%~dp0
echo ====================================================================================
echo Clean %SolutionDir%
echo ------------------------------------------------------------------------------------
cd %SolutionDir%
git clean -f -x -d -e KarmaTestAdapter/BuildConfig.json -e .vs/ -e *.suo
echo.
echo.
echo ====================================================================================
echo Install npm packages in %SolutionDir%\KarmaTestAdapter
echo ------------------------------------------------------------------------------------
cd %SolutionDir%\KarmaTestAdapter
call npm install
echo.
echo.
echo ====================================================================================
echo Install npm packages in %SolutionDir%\TestProjects
echo ------------------------------------------------------------------------------------
cd %SolutionDir%\TestProjects
call npm install
echo.
echo.
echo ====================================================================================
echo Install npm packages in %SolutionDir%\TestProjects\KarmaRequireJasmine\ui
echo ------------------------------------------------------------------------------------
cd %SolutionDir%\TestProjects\KarmaRequireJasmine\ui
call npm install
echo.
echo.
echo ====================================================================================
echo Install bower packages in %SolutionDir%\TestProjects\KarmaRequireJasmine\ui
echo ------------------------------------------------------------------------------------
cd %SolutionDir%\TestProjects\KarmaRequireJasmine\ui
call bower install
echo.
echo.
echo ====================================================================================
echo FINISHED
echo ====================================================================================