Rev 10963 | Rev 13570 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 10963 | Rev 11729 | ||
---|---|---|---|
Line 100... | Line 100... | ||
100 | 100 | ||
101 | // includes all minified files within path "jquery-ui/" |
101 | // includes all minified files within path "jquery-ui/" |
102 | { |
102 | { |
103 | expand: true, |
103 | expand: true, |
104 | filter: 'isFile', |
104 | filter: 'isFile', |
105 | src: ['bower_components/jquery-ui/*.min.*'], |
105 | src: ['bower_components/jquery-ui/*.min.*','bower_components/jquery-ui/ui/i18n/*.js'], |
106 | dest: '../../scripts/js/' |
106 | dest: '../../scripts/js/' |
107 | }, |
107 | }, |
108 | 108 | ||
109 | // includes all minified files within path "jquery-ui-slider-pips/" |
109 | // includes all minified files within path "jquery-ui-slider-pips/" |
110 | { |
110 | { |
Line 186... | Line 186... | ||
186 | dest: '../../scripts/js/', |
186 | dest: '../../scripts/js/', |
187 | }, |
187 | }, |
188 | ], |
188 | ], |
189 | }, |
189 | }, |
190 | }, |
190 | }, |
- | 191 | ||
- | 192 | // RSYNC |
|
- | 193 | rsync: { |
|
- | 194 | options: { |
|
- | 195 | args: ["--verbose"], |
|
- | 196 | exclude: [".git*","*.scss","node_modules"], |
|
- | 197 | recursive: true |
|
- | 198 | }, |
|
- | 199 | MathJax: { |
|
- | 200 | options: { |
|
- | 201 | src: "./bower_components/MathJax/", |
|
- | 202 | dest: "../../scripts/js/mathjax" |
|
- | 203 | } |
|
- | 204 | } |
|
- | 205 | } |
|
191 | 206 | ||
192 | }); |
207 | }); |
193 | 208 | ||
194 | /* available jobs */ |
209 | /* available jobs */ |
195 | grunt.loadNpmTasks('grunt-contrib-jshint'); |
210 | grunt.loadNpmTasks('grunt-contrib-jshint'); |
196 | /*grunt.loadNpmTasks('grunt-contrib-concat');*/ |
211 | /*grunt.loadNpmTasks('grunt-contrib-concat');*/ |
197 | grunt.loadNpmTasks('grunt-contrib-uglify'); |
212 | grunt.loadNpmTasks('grunt-contrib-uglify'); |
198 | grunt.loadNpmTasks('grunt-contrib-less'); |
213 | grunt.loadNpmTasks('grunt-contrib-less'); |
199 | grunt.loadNpmTasks('grunt-contrib-cssmin'); |
214 | grunt.loadNpmTasks('grunt-contrib-cssmin'); |
200 | grunt.loadNpmTasks('grunt-contrib-copy'); |
215 | grunt.loadNpmTasks('grunt-contrib-copy'); |
- | 216 | grunt.loadNpmTasks("grunt-rsync") |
|
201 | 217 | ||
202 | /* Defined Tasks */ |
218 | /* Defined Tasks */ |
203 | grunt.registerTask('default', ['jshint', 'uglify', 'less', 'cssmin', 'copy:main']) |
219 | grunt.registerTask('default', ['jshint', 'uglify', 'less', 'cssmin', 'copy:main']) |
204 | grunt. |
220 | //grunt.registerTask('mathjax', ['copy:MathJax']) |
- | 221 | grunt.registerTask('mathjax', ['rsync:MathJax']) |
|
205 | 222 | ||
206 | } |
223 | } |