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
Windows batch version of bootstrap Makefile target #3185
Conversation
Hmm, looks like this might not be the most maintainable approach. Anyway, it needs updating to match the latest Makefile. For future reference, which branch is the right one to submit changes to? |
Here is a working example of windows'make'like functionality: Windows batch for simulating twitter bootstrap make functionality Requirements:
Working: make build, make test, make bootstrap, make gh-pages, make watch Known issues (differences):
|
@kraz getting following error on executing your created file: Running JSHint on javascript...'jshint' is not recognized as an internal or external command Compiling documentation... |
Hey @ZainShaikh, |
@kraz hi, thanks,
|
@ZainShaikh, Ok i got it... it turns out they still use the old versions of the jshint < 1.0 which recognize the |
This adds a "make-bootstrap.bat" Windows batch script that duplicates the functionality of the "bootstrap" target from the included Makefile.
I'm working on a Windows system, so I tried to build bootstrap from the Makefile (using Cygwin). However, I found that the Windows version of Node.js was not able to operate while running in Cygwin due to an inability to locate packages with Cygwin's path scheme.
I know you can build bootstrap on Windows manually using lessc (as in #245), and that there might be other ways to get Makefiles to run on Windows that would allow Node.js to operate. Still, I'm assuming there are benefits to using the build script, and if someone already has Node.js installed (with uglify-js and lessc) on their Windows machine, this would make it easier to get the same convenience as the Makefile would allow.