mirror of
https://github.com/denoland/deno.git
synced 2025-01-18 03:44:05 -05:00
Rename Deno.build.gnArgs to Deno.build.args
This commit is contained in:
parent
72f9a2e20d
commit
8828bb8c0e
2 changed files with 4 additions and 4 deletions
|
@ -9,8 +9,8 @@ export interface BuildInfo {
|
||||||
/** The operating system platform. */
|
/** The operating system platform. */
|
||||||
os: OSType;
|
os: OSType;
|
||||||
|
|
||||||
/** The GN build arguments */
|
/** The arguments passed to GN during build. See `gn help buildargs`. */
|
||||||
gnArgs: string;
|
args: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The operating system platform. */
|
/** The operating system platform. */
|
||||||
|
@ -26,7 +26,7 @@ export const build: BuildInfo = {
|
||||||
// These string will be replaced by rollup
|
// These string will be replaced by rollup
|
||||||
arch: `ROLLUP_REPLACE_ARCH` as any,
|
arch: `ROLLUP_REPLACE_ARCH` as any,
|
||||||
os: `ROLLUP_REPLACE_OS` as any,
|
os: `ROLLUP_REPLACE_OS` as any,
|
||||||
gnArgs: `ROLLUP_REPLACE_GN_ARGS`
|
args: `ROLLUP_REPLACE_GN_ARGS`
|
||||||
/* eslint-enable @typescript-eslint/no-explicit-any */
|
/* eslint-enable @typescript-eslint/no-explicit-any */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,5 +10,5 @@ test(function buildInfo() {
|
||||||
});
|
});
|
||||||
|
|
||||||
test(function buildGnArgs() {
|
test(function buildGnArgs() {
|
||||||
assert(Deno.build.gnArgs.length > 100);
|
assert(Deno.build.args.length > 100);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue