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
5b7e2515
Commit
5b7e2515
authored
Jun 28, 2014
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more fixes
parent
9bda7842
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
build_against_node.sh
scripts/build_against_node.sh
+2
-0
build_against_node_webkit.sh
scripts/build_against_node_webkit.sh
+4
-2
No files found.
scripts/build_against_node.sh
View file @
5b7e2515
...
...
@@ -41,6 +41,8 @@ else
fi
npm
test
platform
=
$(
uname
-s
| sed
"y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/"
)
if
[[
$(
uname
-s
)
==
'Linux'
]]
;
then
sudo
apt-get
-y
install gcc-multilib g++-multilib
;
fi
# node v0.8 and above provide pre-built 32 bit and 64 bit binaries
...
...
scripts/build_against_node_webkit.sh
View file @
5b7e2515
...
...
@@ -15,15 +15,17 @@ npm --version
export
DISPLAY
=
:99.0
sh
-e
/etc/init.d/xvfb start +extension RANDR
npm install nw-gyp
node-pre-gyp rebuild
--runtime
=
node-webkit
--target
=
$NODE_WEBKIT
# now we need node-webkit itself to test
OLD_PATH
=
"
$PATH
"
if
[[
$(
uname
-s
)
==
'Darwin'
]]
;
then
npm install
--build-from-source
--target_arch
=
ia32
--runtime
=
node-webkit
--target
=
$NODE_WEBKIT
export
NW_DOWNLOAD
=
node-webkit-v
${
NODE_WEBKIT
}
-osx-ia32
wget http://dl.node-webkit.org/v
${
NODE_WEBKIT
}
/
${
NW_DOWNLOAD
}
.tar.gz
unzip
${
NW_DOWNLOAD
}
.zip
export
PATH
=
$(
pwd
)
/
${
NW_DOWNLOAD
}
:
$PATH
else
npm install
--build-from-source
--runtime
=
node-webkit
--target
=
$NODE_WEBKIT
export
NW_DOWNLOAD
=
node-webkit-v
${
NODE_WEBKIT
}
-linux-x64
wget http://dl.node-webkit.org/v
${
NODE_WEBKIT
}
/
${
NW_DOWNLOAD
}
.tar.gz
tar
xf
${
NW_DOWNLOAD
}
.tar.gz
...
...
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