Skip to content

Commit

Permalink
set use_hard_links=false, update references to client2 folder
Browse files Browse the repository at this point in the history
  • Loading branch information
acrantel committed Dec 24, 2023
1 parent e5afc09 commit 9cecae4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ task prodClient {
commandLine 'npm', 'install'
workingDir 'client'
}
environment 'USE_HARD_LINKS', 'false'
exec {
commandLine 'npm', 'run', 'electron-build'
workingDir 'client'
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src-electron/electron-main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"fix-schema": "(cd ../schema && npm i && cd ../client2 && rimraf node_modules/battlecode-schema && npm i)",
"fix-schema": "(cd ../schema && npm i && cd ../client && rimraf node_modules/battlecode-schema && npm i)",
"watch": "set NODE_ENV=development && webpack serve --config webpack.config.js --mode development --env dev",
"prod-watch": "set NODE_ENV=production && webpack serve --config webpack.config.js --mode production",
"build": "set NODE_ENV=production && webpack build --config webpack.config.js --mode production",
Expand Down
2 changes: 1 addition & 1 deletion schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "ts/index.ts",
"scripts": {
"test": "true",
"build-and-distribute": "npm run build && npm run copy-to-engine && cd ../client2 && npm run fix-schema",
"build-and-distribute": "npm run build && npm run copy-to-engine && cd ../client && npm run fix-schema",
"copy-to-engine": "rm -R ../engine/src/main/battlecode/schema/ && mkdir ../engine/src/main/battlecode/schema && cp java/battlecode/schema/* ../engine/src/main/battlecode/schema/",
"build": "./flatc --ts --ts-no-import-ext -o ts battlecode.fbs && ./flatc --java -o java battlecode.fbs && tsc"
},
Expand Down

0 comments on commit 9cecae4

Please sign in to comment.