This reverts it back to the old way of building the JSON files and the lang at build time, instead of storing the built JSON and lang files. Requested by @NotMyWing [INTERNAL] [IGNORE] checks = { compareNot = "1.7-alpha-1" } [IGNORE]
57 lines
2.2 KiB
TypeScript
57 lines
2.2 KiB
TypeScript
// noinspection JSUnusedGlobalSymbols,UnnecessaryLocalVariableJS
|
|
|
|
import * as gulp from "gulp";
|
|
|
|
import pruneCacheTask from "./tasks/misc/pruneCache";
|
|
export const pruneCache = pruneCacheTask;
|
|
|
|
import * as transformFiles from "./tasks/misc/transformFiles";
|
|
export const updateFilesIssue = transformFiles.updateFilesIssue;
|
|
export const updateFilesRandomPatches = transformFiles.updateFilesRandomPatches;
|
|
export const updateFilesServer = transformFiles.updateFilesServer;
|
|
export const updateFilesMainMenu = transformFiles.updateFilesMainMenu;
|
|
export const updateFilesBuild = transformFiles.updateFilesBuild;
|
|
export const updateFilesAll = transformFiles.updateAll;
|
|
|
|
import * as changelog from "./tasks/changelog/createChangelog";
|
|
export const createChangelog = changelog.createRootChangelog;
|
|
|
|
import sharedTasks from "./tasks/shared";
|
|
import clientTasks from "./tasks/client";
|
|
import serverTasks from "./tasks/server";
|
|
import langTasks from "./tasks/lang";
|
|
import mmcTasks from "./tasks/mmc";
|
|
import modTasks from "./tasks/misc/downloadMods";
|
|
|
|
export const buildClient = gulp.series(sharedTasks, clientTasks);
|
|
export const buildServer = gulp.series(gulp.parallel(sharedTasks, modTasks), serverTasks);
|
|
export const buildLang = gulp.series(sharedTasks, langTasks);
|
|
export const buildMMC = gulp.series(gulp.parallel(sharedTasks, modTasks), clientTasks, mmcTasks);
|
|
export const buildAll = gulp.series(
|
|
gulp.parallel(sharedTasks, modTasks),
|
|
gulp.series(gulp.parallel(clientTasks, langTasks, serverTasks), mmcTasks),
|
|
);
|
|
|
|
import checkTasks from "./tasks/checks";
|
|
export const check = gulp.series(checkTasks);
|
|
|
|
import * as zip from "./tasks/misc/zip";
|
|
export const zipClient = zip.zipClient;
|
|
export const zipServer = zip.zipServer;
|
|
export const zipLang = zip.zipLang;
|
|
export const zipMMC = zip.zipMMC;
|
|
export const zipAll = zip.zipAll;
|
|
|
|
exports.default = gulp.series(buildAll, zipAll);
|
|
|
|
import * as gha from "./tasks/misc/gha";
|
|
export const makeArtifactNames = gha.makeArtifactNames;
|
|
|
|
export { deployCurseForge } from "./tasks/deploy/curseforge";
|
|
|
|
import deployReleasesTask from "./tasks/deploy/releases";
|
|
export const deployReleases = deployReleasesTask;
|
|
|
|
import fireNightlyWebhookTask from "./tasks/misc/webhook";
|
|
export const fireNightlyWebhook = fireNightlyWebhookTask;
|