-
Notifications
You must be signed in to change notification settings - Fork 17
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
Allow configuring where to download binaries from #41
Comments
The Can you see if that works for your usecase? |
Sorry, I see now that I wasn't quite clear on what I wanted. The problem for us is external dependencies that download binaries; so in their case I can't modify the To clarify what I mean, an example of how it could look would be that library authors using var binwrap = require("binwrap");
var path = require("path");
var packageInfo = require(path.join(__dirname, "package.json"));
module.exports = binwrap({
dirname: __dirname,
binaries: [
"myapp-cli"
],
baseUrl: "https://dl.bintray.com",
path: "/me/myApp/",
version: packageInfo.version
urls: {
"darwin-x64": "/mac-x64.tgz",
"linux-x64": "/linux-x64.tgz",
"win32-x64": "/win-i386.zip",
"win32-ia32": "/win-i386.zip"
}
}); |
I have the same problem as mbark. Is a solution available? |
We would like to cache the binaries downloaded via
binwrap
via a repo in Artifactory. However, to do that we need to configure where to download the binaries from.It would be preferable to have something similar to
node-sass
allowing you to configure the url to fetch the binary from.If this is something that is interesting I could create a PR with this.
The text was updated successfully, but these errors were encountered: