Update to add top-level mod data

This commit is contained in:
Andrew Miner
2017-06-26 10:27:48 -07:00
parent 171974c760
commit fc6669f026
3 changed files with 4 additions and 2 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -29,7 +29,7 @@
"backbone": "1.3.3", "backbone": "1.3.3",
"chai": "3.5.0", "chai": "3.5.0",
"coffee-script": "1.12.5", "coffee-script": "1.12.5",
"crafting-guide-common": ">=3.0.0 <4.0.0", "crafting-guide-common": ">=5.0.0",
"fs-extra": "2.1.2", "fs-extra": "2.1.2",
"grunt": "1.0.1", "grunt": "1.0.1",
"grunt-contrib-clean": "1.1.0", "grunt-contrib-clean": "1.1.0",
+2
View File
@@ -32,6 +32,8 @@ try
parser.parse text parser.parse text
mod = new Mod slug:modSlug mod = new Mod slug:modSlug
text = fs.readFileSync path.join("data", modSlug, "mod.cg"), "UTF-8"
mod.parse text
mod.addModVersion modVersion mod.addModVersion modVersion
modPack.addMod mod modPack.addMod mod