[EXPAND] [[messages]] messageTitle = "QB Update for GT 2.8 (#681)" messageBody = """ [QB] [DETAILS] details = ["Fixes many Quest Book issues", "Updates QB with changes in GT 2.8"] [DETAILS] """ [[messages]] messageTitle = "Buildscript Refactor (#681)" messageBody = """ [INTERNAL] [DETAILS] details = ["**Important: Buildscript has changed from `npx gulp...` or `gulp...` to `npm run gulp...`**!", "Moves to Node 16 Package Management + Typescript Strict Mode", "New Port QB, Check QB and Fix QB Tasks"] [DETAILS] """ [EXPAND] Co-authored-by: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Co-authored-by: Ghzdude <44148655+ghzdude@users.noreply.github.com> Co-authored-by: SparkedTheorem <162088357+SparkedTheorem@users.noreply.github.com>
74 lines
2.4 KiB
TypeScript
74 lines
2.4 KiB
TypeScript
// noinspection JSUnusedGlobalSymbols,UnnecessaryLocalVariableJS
|
|
|
|
import gulp from "gulp";
|
|
|
|
import pruneCacheTask from "./tasks/misc/pruneCache.ts";
|
|
export const pruneCache = pruneCacheTask;
|
|
|
|
import * as transformFiles from "./tasks/misc/transformFiles.ts";
|
|
export const updateFilesIssue = transformFiles.updateFilesIssue;
|
|
export const updateFilesRandomPatches = transformFiles.updateFilesRandomPatches;
|
|
export const updateFilesServer = transformFiles.updateFilesServer;
|
|
export const updateFilesMainMenu = transformFiles.updateFilesMainMenu;
|
|
export const updateFilesAll = transformFiles.updateAll;
|
|
|
|
import * as changelog from "./tasks/changelog/index.ts";
|
|
export const createChangelog = changelog.createRootChangelog;
|
|
|
|
import sharedTasks from "./tasks/shared/index.ts";
|
|
import clientTasks from "./tasks/client/index.ts";
|
|
import serverTasks from "./tasks/server/index.ts";
|
|
import langTasks from "./tasks/lang/index.ts";
|
|
import mmcTasks from "./tasks/mmc/index.ts";
|
|
import modTasks from "./tasks/misc/downloadMods.ts";
|
|
|
|
export const buildClient = gulp.series(
|
|
sharedTasks,
|
|
clientTasks,
|
|
pruneCacheTask,
|
|
);
|
|
export const buildServer = gulp.series(
|
|
gulp.parallel(sharedTasks, modTasks),
|
|
serverTasks,
|
|
pruneCacheTask,
|
|
);
|
|
export const buildLang = gulp.series(sharedTasks, langTasks, pruneCacheTask);
|
|
export const buildMMC = gulp.series(
|
|
gulp.parallel(sharedTasks, modTasks),
|
|
clientTasks,
|
|
mmcTasks,
|
|
pruneCacheTask,
|
|
);
|
|
export const buildAll = gulp.series(
|
|
sharedTasks,
|
|
gulp.parallel(clientTasks, langTasks, gulp.series(modTasks, serverTasks)),
|
|
pruneCacheTask,
|
|
);
|
|
|
|
import checkTasks from "./tasks/checks/index.ts";
|
|
export const check = gulp.series(checkTasks);
|
|
|
|
import * as zip from "./tasks/misc/zip.ts";
|
|
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;
|
|
|
|
export default gulp.series(buildAll, zipAll);
|
|
|
|
import * as gha from "./tasks/misc/gha.ts";
|
|
export const makeArtifactNames = gha.makeArtifactNames;
|
|
|
|
export { deployCurseForge } from "./tasks/deploy/curseforge.ts";
|
|
|
|
import * as release from "./tasks/deploy/releases.ts";
|
|
export const deployReleases = release.default;
|
|
|
|
import * as checkFix from "./tasks/helpers/questChecks/index.ts";
|
|
export const checkQB = checkFix.check;
|
|
export const fixQB = checkFix.fix;
|
|
|
|
import * as qbPort from "./tasks/helpers/questPorting/index.ts";
|
|
export const portQBChanges = gulp.series(qbPort.default, fixQB);
|