Be sure, that you have installed Node.js and Grunt-CLI.
If not, download node.js, install it and use the following syntax:
npm install grunt -g
npm install grunt-cli -g
To check the version use:
npm -v
grunt --version
git clone https://github.com/asduser/grunt-automation-example.git
.cd grunt-automation-example
.- In root directory use
npm install
via CMD. It will install all needed project dependencies. - To build the project just put in CMD
grunt build-automation
(or dblclick on *.bat file):
build.bat
Compiled version will be rendered into the build directory.
Be sure, that you exactly included the minified .js
version. Otherwise, your application will be cached on the users PC.
In real application version copy all files within a build directory.
MIT License
Copyright (c) 2017 asduser