-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add a preinstall script to grab the quixe submodule #23
Comments
Not actually working the way I thought, since the install occurs in a staging directory which has never had "git init". |
Think I have it working. I wound up with this line, for which I apologize sincerely:
Covers these cases:
Check out, |
If you changed it to a postinstall script, then you wouldn't need that check? Another option would be to just publish quixe on npm. The build script (and main.js I guess) could check if the quixe folder exists and use it if it does, falling back to node_modules if it doesn't. You should be able to use the npm_config_binroot config var in cli.sh - if you're asking for |
I tried postinstall first, but it was not sufficient. The install location doesn't have .git either. I may publish on npm eventually, but not today. I figure if you're running locally you're not using cli.sh, but rather |
Everybody needs it, so I might as well automate it. It means you need git to install lectrote, but that was already true.
The text was updated successfully, but these errors were encountered: