File tree Expand file tree Collapse file tree 4 files changed +640
-13
lines changed Expand file tree Collapse file tree 4 files changed +640
-13
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,20 @@ module.exports = function (grunt) {
7979 sourceMap : true
8080 }
8181 }
82+ } ,
83+
84+ yuidoc : {
85+ dist : {
86+ version : "<%= pkg.version %>" ,
87+ name : "cmi5.js" ,
88+ description : "JavaScript implementation of cmi5 AU runtime" ,
89+ url : "http://rusticisoftware.github.io/cmi5.js/" ,
90+ options : {
91+ paths : "src/" ,
92+ outdir : "build/doc/api/"
93+ } ,
94+ logo : "https://cloud.githubusercontent.com/assets/1656316/9965238/bc9deb2c-5de9-11e5-9954-63aa03873f88.png"
95+ }
8296 }
8397 }
8498 ) ;
@@ -89,7 +103,8 @@ module.exports = function (grunt) {
89103 "fileExists" ,
90104 "eslint" ,
91105 "concat" ,
92- "uglify"
106+ "uglify" ,
107+ "yuidoc"
93108 ]
94109 ) ;
95110 grunt . registerTask ( "default" , "build" ) ;
Original file line number Diff line number Diff line change 2222 "grunt-contrib-concat" : " 1.0.1" ,
2323 "grunt-contrib-uglify" : " 2.1.0" ,
2424 "grunt-contrib-watch" : " 1.0.0" ,
25+ "grunt-contrib-yuidoc" : " 1.0.0" ,
2526 "grunt-eslint" : " 19.0.0" ,
2627 "grunt-file-exists" : " 0.1.4"
2728 },
You can’t perform that action at this time.
0 commit comments