fix building procgen task
Some checks failed
default/mapgen/master There was a failure building this commit
Some checks failed
default/mapgen/master There was a failure building this commit
This commit is contained in:
parent
2325d73208
commit
3b6da99308
|
@ -113,7 +113,7 @@ gulp.task('concatCoffee', () ->
|
|||
.pipe(gulp.dest('./build/game'))
|
||||
)
|
||||
|
||||
gulp.task('procgen', () ->
|
||||
gulp.task('procgen', (done) ->
|
||||
#for language in ['ru', 'en']
|
||||
for language in ['ru']
|
||||
patterns = glob.readdirSync("game/procgen/#{language}/*.cson", {})
|
||||
|
@ -135,10 +135,13 @@ gulp.task('procgen', () ->
|
|||
mkdirp( "./build/game/procgen", (err) ->
|
||||
fs.writeFileSync "./build/game/procgen/#{language}.json", JSON.stringify(json)
|
||||
)
|
||||
return done()
|
||||
###
|
||||
return gulp.src([
|
||||
"build/game/procgen/ru.json",
|
||||
#"build/game/procgen/en.json",
|
||||
])
|
||||
###
|
||||
)
|
||||
|
||||
bundler.on('update', bundle)
|
||||
|
|
Loading…
Reference in a new issue