Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
c86f8bd0
Commit
c86f8bd0
authored
Mar 29, 2016
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix install_node [publish binary]
parent
84b4aec1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
4 deletions
+17
-4
install_node.sh
scripts/install_node.sh
+17
-4
No files found.
scripts/install_node.sh
View file @
c86f8bd0
#!/usr/bin/env bash
if
[[
${
1
:-
false
}
==
'false'
]]
;
then
echo
"Error: pass node version as first argument"
exit
1
fi
NODE_VERSION
=
$1
# if an existing nvm is already installed we need to unload it
nvm unload
||
true
# here we set up the node version on the fly based on the matrix value.
# here we set up the node version on the fly based on the matrix value.
# This is done manually so that the build works the same on OS X
# This is done manually so that the build works the same on OS X
rm
-rf
~/.nvm/
&&
git clone
--depth
1 https://github.com/creationix/nvm.git ~/.
nvm
rm
-rf
./__nvm/
&&
git clone
--depth
1 https://github.com/creationix/nvm.git ./__
nvm
source
~/.
nvm/nvm.sh
source
./__
nvm/nvm.sh
nvm install
$
1
nvm install
$
{
NODE_VERSION
}
nvm use
$
1
nvm use
$
{
NODE_VERSION
}
node
--version
node
--version
npm
--version
npm
--version
which node
which node
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment