Skip to content

Commit e39500f

Browse files
committed
1 parent 3ee576b commit e39500f

4 files changed

Lines changed: 456 additions & 0 deletions

File tree

normalize/Gruntfile.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = function(grunt) {
2+
var pkg = grunt.file.readJSON('package.json');
3+
4+
grunt.initConfig({
5+
pkg: pkg,
6+
7+
download: {
8+
options: {
9+
dest: 'src',
10+
},
11+
src: {
12+
options: {
13+
transform: function(code) {
14+
return code;
15+
}
16+
},
17+
url: 'https://raw.github.com/necolas/normalize.css/v<%= pkg.version %>/normalize.css',
18+
name: 'normalize.css'
19+
}
20+
}
21+
});
22+
23+
grunt.loadGlobalTasks('spm-build');
24+
grunt.util._.merge(grunt.config.data, require('spm-build').config);
25+
26+
grunt.loadTasks('../_tasks/download/tasks');
27+
grunt.registerTask('build', ['download', 'spm-build']);
28+
};

0 commit comments

Comments
 (0)