modded7/buildtools/gulpfile.ts
Exa 7a329bc07b Add Nomifactory's build scripts
Modified slightly to use LICENSE rather than LICENSE.md
2022-02-10 12:07:06 -08:00

39 lines
1.4 KiB
TypeScript

import * as gulp from "gulp";
import pruneCacheTask from "./tasks/misc/pruneCache";
export const pruneCache = pruneCacheTask;
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";
export const buildClient = gulp.series(sharedTasks, clientTasks);
export const buildServer = gulp.series(sharedTasks, serverTasks);
export const buildLang = gulp.series(sharedTasks, langTasks);
export const buildAll = gulp.series(sharedTasks, gulp.series(clientTasks, serverTasks, langTasks));
export const buildMMC = gulp.series(sharedTasks, clientTasks, 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 zipAll = zip.zipAll;
export const zipMMC = zip.zipMMC;
import * as gha from "./tasks/misc/gha";
export const makeArtifactNames = gha.makeArtifactNames;
import deployCurseForgeTask from "./tasks/deploy/curseforge";
export const deployCurseForge = deployCurseForgeTask;
import deployReleasesTask from "./tasks/deploy/releases";
export const deployReleases = deployReleasesTask;
import fireNightlyWebhookTask from "./tasks/misc/webhook";
export const fireNightlyWebhook = fireNightlyWebhookTask;