File tree 3 files changed +11
-8
lines changed
3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ Jaeseok Yoon <yjaeseok@gmail.com>
25
25
Jinho Bang <zino@chromium.org>
26
26
Jongheon Kim <sapzape@gmail.com>
27
27
Taeyun Kim <twhy.kim@gmail.com>
28
+ Taxoo Kim <taxookim@gmail.com>
28
29
Umar Faruk <umar97faruk@gmail.com>
29
30
Wuseok Jang <rufia00@gmail.com>
30
31
Yeonsu Kim <yeonsuyam@gmail.com>
Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ set_path_env $(absolute_path)/node_modules/.bin
31
31
sync_node
32
32
sync_mongodb
33
33
34
- # NPM update
35
- if [ ! -f .pkg_timestamp ] || [ package.json -nt .pkg_timestamp ]; then
34
+ # NPM install or update
35
+ if [ ! -f .pkg_timestamp ]; then
36
+ npm install && > .pkg_timestamp
37
+ elif [ package.json -nt .pkg_timestamp ]; then
36
38
npm update && > .pkg_timestamp
37
39
fi
38
40
Original file line number Diff line number Diff line change 19
19
20
20
function sync_node() {
21
21
local target_path=" ./third_party/node"
22
- local base_url=" https://nodejs.org/dist/v6 .9.5 "
22
+ local base_url=" https://nodejs.org/dist/v8 .9.1 "
23
23
24
24
case $( get_platform_name) in
25
- windows_x86) local target_url=" /node-v6 .9.5 -win-x86.zip" ;;
26
- windows_x86_64) local target_url=" /node-v6 .9.5 -win-x64.zip" ;;
27
- linux_x86) local target_url=" /node-v6 .9.5 -linux-x86.tar.gz" ;;
28
- linux_x86_64) local target_url=" /node-v6 .9.5 -linux-x64.tar.gz" ;;
29
- darwin_x86_64) local target_url=" /node-v6 .9.5 -darwin-x64.tar.gz" ;;
25
+ windows_x86) local target_url=" /node-v8 .9.1 -win-x86.zip" ;;
26
+ windows_x86_64) local target_url=" /node-v8 .9.1 -win-x64.zip" ;;
27
+ linux_x86) local target_url=" /node-v8 .9.1 -linux-x86.tar.gz" ;;
28
+ linux_x86_64) local target_url=" /node-v8 .9.1 -linux-x64.tar.gz" ;;
29
+ darwin_x86_64) local target_url=" /node-v8 .9.1 -darwin-x64.tar.gz" ;;
30
30
esac
31
31
32
32
sync_third_party $base_url$target_url $target_path
You can’t perform that action at this time.
0 commit comments