Skip to content

Commit d1dd722

Browse files
author
Cédric Belin
committed
Update the build system
1 parent 655249b commit d1dd722

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed
File renamed without changes.
File renamed without changes.

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ export async function clean() {
1717

1818
/** Builds the documentation. */
1919
export async function doc() {
20-
await run("npx", "typedoc", "--options", "etc/typedoc.js");
20+
await run("npx", "typedoc", "--options", "etc/TypeDoc.js");
2121
}
2222

2323
/** Performs the static analysis of source code. */
2424
export async function lint() {
2525
await run("npx", "tsc", "--build", "tsconfig.json", "--noEmit");
26-
await run("npx", "eslint", "--config=etc/eslint.js", "gulpfile.js", "example", "src", "test");
26+
await run("npx", "eslint", "--config=etc/ESLint.js", "gulpfile.js", "example", "src", "test");
2727
}
2828

2929
/** Publishes the package. */
File renamed without changes.

test/FastTransformerTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe("FastTransformer", () => {
3636
after(() => transformer.close());
3737

3838
for (const [key, value] of map) it(key, async () => {
39-
const output = await transformer.transform("res/sample.php");
39+
const output = await transformer.transform("res/Sample.php");
4040
ok(output.includes(value));
4141
});
4242
});

test/GulpPluginTest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("GulpPlugin", () => {
1818
]);
1919

2020
describe("fast", () => {
21-
const file = new File({path: resolve("res/sample.php")});
21+
const file = new File({path: resolve("res/Sample.php")});
2222
const plugin = new GulpPlugin({mode: "fast", silent: true});
2323
after(() => plugin.emit("end"));
2424

@@ -29,7 +29,7 @@ describe("GulpPlugin", () => {
2929
});
3030

3131
describe("safe", () => {
32-
const file = new File({path: resolve("res/sample.php")});
32+
const file = new File({path: resolve("res/Sample.php")});
3333
const plugin = new GulpPlugin({mode: "safe", silent: true});
3434
after(() => plugin.emit("end"));
3535

test/SafeTransformerTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe("SafeTransformer", () => {
2626
after(() => transformer.close());
2727

2828
for (const [key, value] of map) it(key, async () => {
29-
const output = await transformer.transform("res/sample.php");
29+
const output = await transformer.transform("res/Sample.php");
3030
ok(output.includes(value));
3131
});
3232
});

0 commit comments

Comments
 (0)