mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Merge pull request #1241 from bbassie/chore/move-root-scripts
Move clean and publish scripts into scripts folder
This commit is contained in:
1 parent
a49841f3fc
commit
8692ea3941
8 files changed
+11
-11
No files matched your search
+2
-2
@@ -4,7 +4,7 @@ import fs from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
import { promisify } from "node:util";
|
||||
|
||||
import { publishMods, uploadModRelease } from "../publish.js";
|
||||
import { publishMods, uploadModRelease } from "../scripts/publish.js";
|
||||
|
||||
const execFileAsync = promisify(execFile);
|
||||
|
||||
@@ -94,7 +94,7 @@ describe("mod publishing", function() {
|
||||
`;
|
||||
const { stdout, stderr } = await execFileAsync(process.execPath, [
|
||||
"--import", `data:text/javascript,${encodeURIComponent(mockFetch)}`,
|
||||
"publish.js", "factorio", directory, "--dry-run",
|
||||
"scripts/publish.js", "factorio", directory, "--dry-run",
|
||||
]);
|
||||
assert.equal(stderr, "");
|
||||
assert(stdout.includes("Requesting current releases of cli_publish_test"));
|
||||
|
||||
Reference in new issue
Block a user