File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,18 @@ module.exports = (grunt)->
4040 ' Contrib/PhantomJS/runner.js'
4141 ' Auditor/HTMLCSAuditor.js'
4242 ],
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+ ],
4355
4456 copy :
4557 dist :
@@ -77,4 +89,5 @@ module.exports = (grunt)->
7789
7890 grunt .registerTask ' default' , [' jshint' ]
7991 grunt .registerTask ' build' , [' uglify:dist' , ' copy:dist' ]
92+ grunt .registerTask ' build-beacon' , [' uglify:beacon' , ' copy:dist' ]
8093 grunt .registerTask ' build-debug' , [' uglify:debug' , ' copy:dist' ]
You can’t perform that action at this time.
0 commit comments