-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed buildAll not waiting for defs to be saved
- Loading branch information
1 parent
ab12bcb
commit 088551c
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
const {generate} = require("../src/Generator/generator"); | ||
|
||
const games = ['FO4', 'SSE', 'TES5', 'TES4', 'FO3', 'FNV']; | ||
games.forEach(game => { | ||
generate(game, { saveIndividualDefs: true, saveFormattedDefs: true }); | ||
}); | ||
|
||
let buildAll = async function() { | ||
for (let game of games) | ||
await generate(game, { saveIndividualDefs: true, saveFormattedDefs: true }); | ||
}; | ||
|
||
buildAll(); |