Update to add top-level mod data
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
@@ -29,7 +29,7 @@
|
||||
"backbone": "1.3.3",
|
||||
"chai": "3.5.0",
|
||||
"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",
|
||||
"grunt": "1.0.1",
|
||||
"grunt-contrib-clean": "1.1.0",
|
||||
|
||||
@@ -32,6 +32,8 @@ try
|
||||
parser.parse text
|
||||
|
||||
mod = new Mod slug:modSlug
|
||||
text = fs.readFileSync path.join("data", modSlug, "mod.cg"), "UTF-8"
|
||||
mod.parse text
|
||||
mod.addModVersion modVersion
|
||||
|
||||
modPack.addMod mod
|
||||
|
||||
Reference in New Issue
Block a user