mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-03 21:08:18 +00:00
parent
d4e3684744
commit
471610accd
12 changed files with 82 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable @typescript-eslint/no-var-requires, no-console */
|
||||
const path = require("path");
|
||||
const { spawnSync } = require("child_process");
|
||||
const { execSync, spawnSync } = require("child_process");
|
||||
|
||||
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
||||
const LicenseCheckerWebpackPlugin = require("license-checker-webpack-plugin");
|
||||
|
@ -34,6 +34,11 @@ function generateRustLicenses() {
|
|||
return eval(stdout);
|
||||
}
|
||||
|
||||
process.env.VUE_APP_COMMIT_DATE = execSync("git log -1 --format=%cd", { encoding: "utf-8" }).trim();
|
||||
process.env.VUE_APP_COMMIT_HASH = execSync("git rev-parse HEAD", { encoding: "utf-8" }).trim();
|
||||
process.env.VUE_APP_COMMIT_BRANCH = execSync("git rev-parse --abbrev-ref HEAD", { encoding: "utf-8" }).trim();
|
||||
process.env.VUE_APP_RELEASE_SERIES = "Pre-Alpha";
|
||||
|
||||
module.exports = {
|
||||
lintOnSave: "warning",
|
||||
// https://cli.vuejs.org/guide/webpack.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue