File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,18 @@ module.exports = (grunt)->
40
40
' Contrib/PhantomJS/runner.js'
41
41
' Auditor/HTMLCSAuditor.js'
42
42
],
43
+ beacon :
44
+ options :
45
+ banner : ' /*! <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy-mm-dd") %> */\n ' + grunt .file .read (' Contrib/Build/umd-header.js' )
46
+ footer : grunt .file .read (' Contrib/Build/umd-footer.js' )
47
+ files :
48
+ ' build/HTMLCS.js' : [
49
+ ' Standards/**/*.js'
50
+ ' HTMLCS.js'
51
+ ' HTMLCS.Util.js'
52
+ ' Contrib/PhantomJS/runner.js'
53
+ ' Auditor/Auditor_with_beacon.js'
54
+ ],
43
55
44
56
copy :
45
57
dist :
@@ -77,4 +89,5 @@ module.exports = (grunt)->
77
89
78
90
grunt .registerTask ' default' , [' jshint' ]
79
91
grunt .registerTask ' build' , [' uglify:dist' , ' copy:dist' ]
92
+ grunt .registerTask ' build-beacon' , [' uglify:beacon' , ' copy:dist' ]
80
93
grunt .registerTask ' build-debug' , [' uglify:debug' , ' copy:dist' ]
You can’t perform that action at this time.
0 commit comments