Here is a good old Makefile
to download, configure and build Bootstrap.
For us the old-timers who have a hard time reinventing the wheel with the gulps and grunts of the Javascript world 😄
Note: To be honest, Bootstrap doesn't make use of the aforementioned tools; and their is a use case for npm
. Nonetheless, our
preference goes for make(1).
Getting your distribution ready is as simple as:
make init
make dist
All npm run
command are available as make
(e.g. make dist
in lieu of npm run dist
).
Additional targets:
Target | Purpose |
---|---|
clean |
Remove temporary files and dist directory. |
realclean |
Remove build environment, in particular node_modules . |
distclean |
Purge directory except this repositorїes files. |
Enjoy!