This repository was archived by the owner on Apr 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-devdependencies.bat
More file actions
64 lines (52 loc) · 1.75 KB
/
install-devdependencies.bat
File metadata and controls
64 lines (52 loc) · 1.75 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
@ECHO OFF
cd %~dp0
echo ####################################################
echo ### NOTE: This may need to run as administrator! ###
echo ### ###
echo ### ###
echo ####################################################
echo:
echo:
echo:
echo ### Download and Install Chocolatey ###
echo # - https://chocolatey.org/ #
echo:
SET dir=%~dp0
SET script=%dir%env\install.ps1
PowerShell Set-ExecutionPolicy Bypass
PowerShell -NoProfile %script%;
echo:
echo ### Download and install Ruby and Node ###
echo # - http://rubyinstaller.org/ #
echo # - http://nodejs.org/ #
echo:
call cinst ruby
call cinst nodejs.install
echo:
echo ### Download and install Ruby gems ###
echo:
call gem install sass -v 3.2.17
call gem install compass -v 0.12.2
call gem install bootstrap-sass
echo:
echo ### Download and install global Node packages ###
echo:
call npm install grunt-cli -g
call npm install bower -g
echo:
echo ### Download and install Node and Bower packages ###
echo:
call npm install
call bower install
SET node_cache=%USERPROFILE%\AppData\Roaming\npm-cache
echo #################################################################
echo ### DONE ###
echo ### Note: If node failed to install packages ###
echo ### try clearing the node cache under ###
echo ### your user profile: ###
echo ### %node_cache%
echo ### ###
echo ### Also clear the node_modules folder in the project. ###
echo #################################################################
echo:
pause > nul