Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/webgpu/tests/cts/checkout/tools/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 747 B image not shown  

Quelle  gen_version   Sprache: C

 
#!/usr/bin/env node

// Get the current git hash, and save (overwrite) it into gen/.../version.js
// so it can be read when running inside the browser.

/* eslint-disable no-console */

require('../src/common/tools/setup-ts-in-node.js');
const fs = require('fs');

const myself = 'tools/gen_version';
if (!fs.existsSync(myself)) {
  console.error('Must be run from repository root');
  process.exit(1);
}

const { version } = require('../src/common/tools/version.ts');

fs.mkdirSync('./gen/common/internal', { recursive: true });
// This will be copied into the various other build directories.
fs.writeFileSync(
  './gen/common/internal/version.js',
  `\
// AUTO-GENERATED - DO NOT EDIT. See ${myself}.

export const version = '${version}';
`
);

¤ Dauer der Verarbeitung: 0.26 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.