So I am trying to \"build\" twitter bootstrap from source git://github.com/twitter/bootstrap.git and I git clone it to my local machine.
Obviously, on my local machi
I have gnuwin32 installed and on my path, and I've npm install-ed uglifyjs, recess, and jshint. I then made the following additions to the top of the Makefile:
SHELL=c:/windows/system32/cmd.exe
MKDIR=mkdir.exe -p
UGLIFYJS=uglifyjs
RECESS=recess
JSHINT=jshint
The first line (SHELL=) fixes this problem:
w:\github\bootstrap>make bootstrap
mkdir.exe -p bootstrap/js
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3)
the second line (MKDIR=) is to prevent the dos mkdir command being used (which doesn't understand the -p flag).
Then a global search/replace on all the executable references:
- mkdir -p bootstrap/js
+ $(MKDIR) bootstrap/js
cat js/bootstrap-transition.js js..
- ./node_modules/.bin/uglifyjs -nc...
+ $(UGLIFYJS) -nc bootstrap/js/boot..
etc.
Now make bootstrap finishes without any problems.