Skip to content
Snippets Groups Projects
Commit d7beb2b6 authored by François Grand's avatar François Grand
Browse files

refactor: remove scripts/python3.js

refs #578
parent 84b8fa7c
No related branches found
No related tags found
2 merge requests!225Release v4.17.0,!188Resolve "Ajouter le numéro de version de Cassiopée sur la documentation"
......@@ -14,8 +14,8 @@
"e2e": "npm run preprocess && node scripts/check-translations.js && npm run ng -- e2e --suite=regular --webdriver-update=false",
"e2equick": "node scripts/check-translations.js && npm run ng -- e2e --dev-server-target= --suite=regular --webdriver-update=false",
"monkeytest": "npm run ng -- e2e --dev-server-target= --suite=monkeyTest --webdriver-update=false",
"mkdocs": "node scripts/python3.js -m mkdocs build -f mkdocs-fr.yml && node scripts/python3.js -m mkdocs build -f mkdocs-en.yml && node scripts/mkdocs-postprocess.js",
"mkdocs2pdf": "node scripts/python3.js mkdocs2pdf.py",
"mkdocs": "python3 -m mkdocs build -f mkdocs-fr.yml && python3 -m mkdocs build -f mkdocs-en.yml && node scripts/mkdocs-postprocess.js",
"mkdocs2pdf": "python3 mkdocs2pdf.py",
"preprocess": "node scripts/preprocessors.js && node scripts/extract-nghyd-version.js docs/cassiopee_version.tex && npm run mkdocs",
"start": "npm run preprocess && npm run ng serve -- --host 0.0.0.0 --poll 5000",
"build-no-pdf": "npm run preprocess && npm run ng build -- --configuration production",
......
'use strict';
const exec = require("child_process").execSync;
const os = require("os");
let py = "python3";
if (os.platform() === "win32") {
py = "python";
}
const command = py + " " + process.argv.slice(2).join(" ");
console.log("executing", command);
const ret = exec(command);
console.log(ret.toString());
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment