Skip to content

Commit

Permalink
Upgrade Node.js (v6.9.5 -> v8.9.1) (lunchclass#520)
Browse files Browse the repository at this point in the history
Upgrade Node.js (v6.9.5 -> v8.9.1)

ISSUE=lunchclass#518
  • Loading branch information
taxookim authored and romandev committed Nov 14, 2017
1 parent 654436b commit aecd7a9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Jaeseok Yoon <[email protected]>
Jinho Bang <[email protected]>
Jongheon Kim <[email protected]>
Taeyun Kim <[email protected]>
Taxoo Kim <[email protected]>
Umar Faruk <[email protected]>
Wuseok Jang <[email protected]>
Yeonsu Kim <[email protected]>
Expand Down
6 changes: 4 additions & 2 deletions bootstrap/absolute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ set_path_env $(absolute_path)/node_modules/.bin
sync_node
sync_mongodb

# NPM update
if [ ! -f .pkg_timestamp ] || [ package.json -nt .pkg_timestamp ]; then
# NPM install or update
if [ ! -f .pkg_timestamp ]; then
npm install && > .pkg_timestamp
elif [ package.json -nt .pkg_timestamp ]; then
npm update && > .pkg_timestamp
fi

Expand Down
12 changes: 6 additions & 6 deletions bootstrap/common/sync_third_party.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@

function sync_node() {
local target_path="./third_party/node"
local base_url="https://nodejs.org/dist/v6.9.5"
local base_url="https://nodejs.org/dist/v8.9.1"

case $(get_platform_name) in
windows_x86) local target_url="/node-v6.9.5-win-x86.zip" ;;
windows_x86_64) local target_url="/node-v6.9.5-win-x64.zip" ;;
linux_x86) local target_url="/node-v6.9.5-linux-x86.tar.gz" ;;
linux_x86_64) local target_url="/node-v6.9.5-linux-x64.tar.gz" ;;
darwin_x86_64) local target_url="/node-v6.9.5-darwin-x64.tar.gz" ;;
windows_x86) local target_url="/node-v8.9.1-win-x86.zip" ;;
windows_x86_64) local target_url="/node-v8.9.1-win-x64.zip" ;;
linux_x86) local target_url="/node-v8.9.1-linux-x86.tar.gz" ;;
linux_x86_64) local target_url="/node-v8.9.1-linux-x64.tar.gz" ;;
darwin_x86_64) local target_url="/node-v8.9.1-darwin-x64.tar.gz" ;;
esac

sync_third_party $base_url$target_url $target_path
Expand Down

0 comments on commit aecd7a9

Please sign in to comment.