Skip to content

Commit

Permalink
use linuxopt in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Aug 12, 2022
1 parent 62264ed commit bf027e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"update": "cd ../../asphr && bazelisk build //schema:daemon_js_grpc && cd ../client/gui && rm -rf src/daemon && cp -r ../../asphr/bazel-bin/schema/daemon_js_grpc_pb src/daemon && for f in src/daemon/**/*; do echo -e \"// @generated\\n\\n$(cat ${f})\" > ${f}2; mv -f ${f}2 ${f}; echo 'this package.json file is @not-generated' > /dev/null; done;",
"build-binaries-mac-arm64": "rm -rf binaries/arm64 && bazelisk build //:asphr-release -c opt && mkdir -p binaries/arm64 && cp $(bazelisk info output_path)/darwin_arm64-opt/bin/cli/asphr binaries/arm64/anysphere && cp $(bazelisk info output_path)/darwin_arm64-opt/bin/daemon/main binaries/arm64/anysphered",
"build-binaries-mac-x86_64": "rm -rf binaries/x64 && arch --x86_64 /usr/local/bin/bazelisk build //:asphr-release -c opt && mkdir -p binaries/x64 && cp $(bazelisk info output_path)/darwin-opt/bin/cli/asphr binaries/x64/anysphere && cp $(bazelisk info output_path)/darwin-opt/bin/daemon/main binaries/x64/anysphered",
"build-binaries-linux-x86_64": "rm -rf binaries/x64 && bazelisk build //:asphr-release && mkdir -p binaries/x64 && cp $(bazelisk info output_path)/k8-opt/bin/cli/asphr binaries/x64/anysphere && cp $(bazelisk info output_path)/k8-opt/bin/daemon/main binaries/x64/anysphered",
"build-binaries-linux-x86_64": "rm -rf binaries/x64 && bazelisk build //:asphr-release --config linuxopt && mkdir -p binaries/x64 && cp $(bazelisk info output_path)/k8-opt/bin/cli/asphr binaries/x64/anysphere && cp $(bazelisk info output_path)/k8-opt/bin/daemon/main binaries/x64/anysphered",
"build-binaries-mac": "npm run build-binaries-mac-arm64 && npm run build-binaries-mac-x86_64",
"build-binaries-linux": "npm run build-binaries-linux-x86_64",
"build": "concurrently \"npm run build:main\" \"npm run build:renderer\"",
Expand Down

0 comments on commit bf027e5

Please sign in to comment.