diff --git a/Makefile b/Makefile index 553f683..f1d2d4d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: css js init: - bower install almond requirejs requirejs-text + (cd isso/js; bower install almond requirejs requirejs-text) css: scss isso/css/isso.scss isso/css/isso.css diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index d9a9394..c5e38c3 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -38,8 +38,8 @@ Compile SCSS to CSS: Install JS components: - ~> cd isso/js - ~> bower install almond requirejs requirejs-domready requirejs-text + ~> make init + ~> # or cd isso/js && bower install almond requirejs requirejs-text Integration @@ -55,6 +55,5 @@ Optimization ------------ ~> npm install -g requirejs uglifyjs - ~> cd isso/js - ~> r.js -o build.embed.js - ~> r.js -o build.count.js + ~> make js + ~> # or r.js -o /isso/js/build.embed.js