diff --git a/examples/spec/process.js b/examples/spec/process.js index c2e3c4e..8e54d89 100644 --- a/examples/spec/process.js +++ b/examples/spec/process.js @@ -157,6 +157,10 @@ test('versions is object', typeof process.versions, 'object'); test('versions.ant exists', typeof process.versions.ant, 'string'); test('versions.uv exists', typeof process.versions.uv, 'string'); +test('features is object', typeof process.features, 'object'); +test('features.uv is boolean', typeof process.features.uv, 'boolean'); +test('features.typescript exists', typeof process.features.typescript, 'string'); + test('release is object', typeof process.release, 'object'); test('release.name is string', typeof process.release.name, 'string'); diff --git a/meson/snapshot/meson.build b/meson/snapshot/meson.build index 86ff705..d3815a7 100644 --- a/meson/snapshot/meson.build +++ b/meson/snapshot/meson.build @@ -12,7 +12,7 @@ snapshot_h = custom_target( command: [ node, src_root / 'src' / 'tools' / 'gen_snapshot.js', - '@INPUT0@', + src_root / 'src' / 'core' / 'index.ts', '@OUTPUT@', 'VERSION=' + ant_version, 'GIT_HASH=' + git_hash, @@ -21,4 +21,4 @@ snapshot_h = custom_target( 'MBEDTLS=' + (tls_lib == 'mbedtls').to_string(), 'HOST=' + host_machine.system(), ], -) \ No newline at end of file +) diff --git a/sources.json b/sources.json index 5759272..a79476a 100644 --- a/sources.json +++ b/sources.json @@ -9,6 +9,6 @@ }, "core": { "patterns": ["src/core/**/*.ts"], - "exclude": [] + "exclude": ["src/core/index.ts"] } }