mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Fix app build command
This commit is contained in:
@@ -84,7 +84,7 @@ const MDNS_BINDING_NAME = "dns_sd_bindings.node";
|
|||||||
async function build() {
|
async function build() {
|
||||||
// Run tsc
|
// Run tsc
|
||||||
spawnSync(
|
spawnSync(
|
||||||
`tsc --project ${ROOT_PATH}
|
`tsc --project ${ROOT_PATH} \
|
||||||
--outDir ${BUILD_PATH}`,
|
--outDir ${BUILD_PATH}`,
|
||||||
spawnOptions
|
spawnOptions
|
||||||
);
|
);
|
||||||
@@ -217,12 +217,6 @@ NODE_PATH="${modulesDir}" node $(dirname $0)/src/main.js --__name $(basename $0)
|
|||||||
} else {
|
} else {
|
||||||
// Move tsc output and launcher to dist
|
// Move tsc output and launcher to dist
|
||||||
fs.moveSync(BUILD_PATH, paths.DIST_PATH, { overwrite: true });
|
fs.moveSync(BUILD_PATH, paths.DIST_PATH, { overwrite: true });
|
||||||
/*
|
|
||||||
spawnSync("npm install --production", {
|
|
||||||
...spawnOptions
|
|
||||||
, cwd: paths.DIST_PATH
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove build directory
|
// Remove build directory
|
||||||
|
|||||||
Reference in New Issue
Block a user