./configure && make && make install
npm update
npm install -g grunt-cli
- npm install -g bower
clean:
make -C $(LIBDBI) clean
install_postgres_server:
make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)"
-# note: if/when grunt-cli and bower are available as
-# packages, use the packaged versions instead.
+# note: if/when grunt-cli is available as a
+# package, use the packaged version instead.
install_developer:
make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
npm update
npm install -g grunt-cli
- npm install -g bower
install_translator: install_developer
make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
install_postgres_server:
make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_94)"
-# note: if/when grunt-cli and bower are available as
-# packages, use the packaged versions instead.
+# note: if/when grunt-cli is available as a
+# package, use the packaged version instead.
install_developer:
make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
npm update
npm install -g grunt-cli
- npm install -g bower
install_translator: install_developer
make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
install_postgres_server:
make -f $(DIR)/Makefile.debian DEBS="$(PGSQL_SERVER_DEBS_95)"
-# note: if/when grunt-cli and bower are available as
-# packages, use the packaged versions instead.
+# note: if/when grunt-cli is available as a
+# package, use the packaged version instead.
install_developer:
make -f $(DIR)/Makefile.debian DEBS="$(DEVELOPER_DEBS)"
npm update
npm install -g grunt-cli
- npm install -g bower
install_translator: install_developer
make -f $(DIR)/Makefile.debian DEBS="$(TRANSLATOR_DEBS)"
echo " -r prompt to preview upgrade SQL in editor before committing."
echo " -i skip i18n; primarily useful for (quickly) testing this script."
echo " -j opensrf javascript library path. If osrf_config is found, the value derived from osrf_config --libdir."
- echo " -c build the experimental browser client; requires nodejs/grunt-cli/bower"
+ echo " -c build the experimental browser client; requires nodejs/grunt-cli"
echo " NOTE: -t and -b override PREV_BRANCH/PREV_VERSION, but -b overrides -t."
exit -1
;;
echo "Building browser staff client"
cd Open-ILS/web/js/ui/default/staff/
npm install # fetch build dependencies
- bower install # fetch JS dependencies
grunt build # copy to build dir and minify JS files
- # bower / node cache is big and unnecessary in the final build. remove them.
- rm -r bower_components node_modules
+ # npm cache is big and unnecessary in the final build. remove it.
+ rm -r node_modules
cd ../../../../../../../ # release dir
else
echo "Skipping browser client build"