1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-03 12:58:54 -05:00

Rename Deno.build.gnArgs to Deno.build.args

This commit is contained in:
Ryan Dahl 2019-03-07 09:11:49 -05:00
parent 72f9a2e20d
commit 8828bb8c0e
2 changed files with 4 additions and 4 deletions

View file

@ -9,8 +9,8 @@ export interface BuildInfo {
/** The operating system platform. */
os: OSType;
/** The GN build arguments */
gnArgs: string;
/** The arguments passed to GN during build. See `gn help buildargs`. */
args: string;
}
/** The operating system platform. */
@ -26,7 +26,7 @@ export const build: BuildInfo = {
// These string will be replaced by rollup
arch: `ROLLUP_REPLACE_ARCH` 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 */
};

View file

@ -10,5 +10,5 @@ test(function buildInfo() {
});
test(function buildGnArgs() {
assert(Deno.build.gnArgs.length > 100);
assert(Deno.build.args.length > 100);
});