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
215af33e
Commit
215af33e
authored
Mar 06, 2014
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ditch two step install, just target nw right off with npm install
parent
7dc9a4a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
Makefile
test/nw/Makefile
+5
-6
No files found.
test/nw/Makefile
View file @
215af33e
...
...
@@ -3,10 +3,10 @@ NODE_WEBKIT_VERSION=0.8.4
all
:
app.nw
node_modules/sqlite3
:
npm install https://github.com/mapbox/node-sqlite3/tarball/master
npm install https://github.com/mapbox/node-sqlite3/tarball/master
--build-from-source
--runtime
=
node-webkit
--target_arch
=
ia32
--target
=
$(NODE_WEBKIT_VERSION)
node_modules/sqlite3/lib/node_sqlite3.node
:
node_modules/sqlite3
cd
node_modules/sqlite3
&&
./node_modules/.bin/node-pre-gyp build
--runtime
=
node-webkit
--target_arch
=
ia32
--target
=
$(NODE_WEBKIT_VERSION)
rebuild
:
cd
node_modules/sqlite3
&&
./node_modules/.bin/node-pre-gyp
re
build
--runtime
=
node-webkit
--target_arch
=
ia32
--target
=
$(NODE_WEBKIT_VERSION)
node-webkit-v$(NODE_WEBKIT_VERSION)-osx-ia32.zip
:
wget https://s3.amazonaws.com/node-webkit/v
$(NODE_WEBKIT_VERSION)
/node-webkit-v
$(NODE_WEBKIT_VERSION)
-osx-ia32
.zip
...
...
@@ -14,7 +14,7 @@ node-webkit-v$(NODE_WEBKIT_VERSION)-osx-ia32.zip:
./node-webkit.app
:
node-webkit-v$(NODE_WEBKIT_VERSION)-osx-ia32.zip
unzip
-o
node-webkit-v
$(NODE_WEBKIT_VERSION)
-osx-ia32
.zip
app.nw
:
./node-webkit.app Makefile package.json index.html node_modules/sqlite3
/lib/node_sqlite3.node
app.nw
:
./node-webkit.app Makefile package.json index.html node_modules/sqlite3
zip app.nw index.html package.json node_modules
test
:
./node-webkit.app app.nw
...
...
@@ -30,8 +30,7 @@ package: ./node-webkit.app Makefile package.json index.html node_modules/sqlite3
./node-sqlite-test.app/Contents/MacOS/node-webkit
clean
:
rm
-rf
./node_modules/sqlite3/build
rm
-f
./node_modules/sqlite3/lib/node_sqlite3.node
rm
-rf
./node_modules/sqlite3
rm
-f
./app.nw
rm
-rf
node-sqlite-test.app
rm
-f
credits.html
...
...
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