mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-09-24 04:44:59 +00:00
Compress sounds into atlas
This commit is contained in:
@@ -3,13 +3,9 @@ const path = require("path");
|
||||
const yaml = require("gulp-yaml");
|
||||
|
||||
const translationsSourceDir = path.join(__dirname, "..", "translations");
|
||||
const translationsJsonDir = path.join(__dirname, "..", "src", "js", "translations-built");
|
||||
const translationsJsonDir = path.join(__dirname, "..", "src", "js", "built-temp");
|
||||
|
||||
function gulptasksTranslations($, gulp, buildFolder) {
|
||||
gulp.task("translations.clear", () => {
|
||||
return gulp.src(translationsJsonDir, { read: false }).pipe($.clean({ force: true }));
|
||||
});
|
||||
|
||||
gulp.task("translations.convertToJson", () => {
|
||||
return gulp
|
||||
.src(path.join(translationsSourceDir, "*.yaml"))
|
||||
|
||||
Reference in New Issue
Block a user