Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of node-pre-gyp (latest) #257

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Adding bindings and configuration to publish pre-builts to s3
  • Loading branch information
seanmcilvenna committed Sep 8, 2015
commit bff7e01bf181e6155de48ebb065a8d929b31b8a5
11 changes: 11 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,17 @@
},
],
]
},
{
"target_name": "action_after_build",
"type": "none",
"dependencies": [ "<(module_name)" ],
"copies": [
{
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
"destination": "<(module_path)"
}
]
}
]
}
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,25 @@
"find-java-home": "0.1.2",
"glob": "5.0.5",
"lodash": "3.7.0",
"nan": "1.7.0"
"nan": "1.7.0",
"node-pre-gyp": "0.5.x"
},
"devDependencies": {
"chalk": "1.0.0",
"nodeunit": "0.9.1",
"when": "3.7.2"
"when": "3.7.2",
"aws-sdk": "~2.0.0-rc.15"
},
"bundledDependencies":["node-pre-gyp"],
"scripts": {
"install": "node-pre-gyp install --fallback-to-build",
"test": "node testRunner.js",
"postinstall": "node postInstall.js"
},
"main": "./index.js"
"main": "./index.js",
"binary": {
"module_name": "nodejavabridge_bindings",
"module_path": "./lib/binding/",
"host": "https://node-java.s3.amazonaws.com/"
}
}