MCPcopy
hub / github.com/josdejong/mathjs / updateVersionFile

Function updateVersionFile

gulpfile.js:62–68  ·  view source on GitHub ↗
(done)

Source from the content-addressed store, hash-verified

60
61// generate a js file containing the version number
62function updateVersionFile (done) {
63 const version = getVersion()
64
65 fs.writeFileSync(VERSION, `export const version = '${version}'${AUTOGENERATED_WARNING}`)
66
67 done()
68}
69
70const bannerPlugin = new webpack.BannerPlugin({
71 banner: createBanner(),

Callers

nothing calls this directly

Calls 1

getVersionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…