fix building procgen task
Some checks failed
default/mapgen/master There was a failure building this commit

This commit is contained in:
Alexander Yakovlev 2018-09-23 16:59:42 +07:00
parent 2325d73208
commit 3b6da99308

View file

@ -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)