grunt is very similar to 'makefile' and 'ant'. As I know, 'makefile' runs 'make clean', 'make build', 'make all', and user-defined batch such as copy and remove files.
grunt also performs predefined sets of tasks automatically.
For javascript, you may want to make the following tasks batch.
- Linting with JSHint: Check potential defects of Javascript source code
- Concatenation: Concatenate several javascript files into one file to improve run-time performance
- Minification(uglify): make the size of javascript files smaller
The following is the best reference for grunt with the common tasks.
>> Understanding Grunt – Part 1: Installation, Linting, Concatenation, And Minification
댓글 없음:
댓글 쓰기