211.2.3
by Thiago Veronezi
make prep and lint fixes |
1 |
'use strict'; |
2 |
||
268
by Benji York
un-revert r263 |
3 |
/*
|
4 |
* Configure the CSS sprite generation utility.
|
|
5 |
*/
|
|
6 |
||
211.2.2
by Thiago Veronezi
generating sprites with node-spritesheet and grunt |
7 |
module.exports = function(grunt) { |
8 |
grunt.initConfig({ |
|
211.2.3
by Thiago Veronezi
make prep and lint fixes |
9 |
spritesheet: { |
10 |
compile: { |
|
11 |
options: { |
|
268
by Benji York
un-revert r263 |
12 |
outputImage: 'sprite.png', |
13 |
outputCss: 'sprite.css', |
|
211.2.3
by Thiago Veronezi
make prep and lint fixes |
14 |
selector: '.sprite' |
15 |
||
211.2.2
by Thiago Veronezi
generating sprites with node-spritesheet and grunt |
16 |
},
|
211.2.3
by Thiago Veronezi
make prep and lint fixes |
17 |
files: { |
292.1.1
by Gary Poster
Correct release docs; improve review docs; make all files served locally, so https can work; update makefile to have better names for build artifacts and more correctly designate phony targets; reduce unnecessary duplication of file creation in repeated Makefile runs. |
18 |
'build-shared/juju-ui/assets': 'app/assets/images/*' |
211.2.2
by Thiago Veronezi
generating sprites with node-spritesheet and grunt |
19 |
}
|
20 |
}
|
|
21 |
}
|
|
22 |
});
|
|
23 |
||
24 |
grunt.loadNpmTasks('node-spritesheet'); |
|
25 |
grunt.registerTask('spritegen', 'spritesheet'); |
|
26 |
||
27 |
grunt.registerTask('default', function() { |
|
28 |
// noop
|
|
29 |
});
|
|
30 |
};
|