mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 22:35:42 +00:00
Replace deprecated --noincompatible_enable_cc_toolchain_resolution flag with --config=mactools to properly use Apple's Xcode toolchain instead of LLVM for Darwin bundle builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
15 lines
626 B
Bash
Executable File
15 lines
626 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
/bin/echo "build plugins"
|
|
|
|
/bin/echo "building darwin bundle"
|
|
bazel build --config=mactools @net_eagle0_unity_godice//darwin/framework:DarwinGodiceBundle
|
|
ZIP_LOCATION=$(bazel cquery --config=mactools --output=files @net_eagle0_unity_godice//darwin/framework:DarwinGodiceBundle 2>/dev/null)
|
|
/usr/bin/unzip -o $ZIP_LOCATION -d src/main/csharp/net/eagle0/clients/unity/eagle0/Assets/Plugins/
|
|
|
|
/usr/bin/plutil -convert xml1 src/main/csharp/net/eagle0/clients/unity/eagle0/Assets/Plugins/DarwinGodiceBundle.bundle/Contents/Info.plist
|
|
|
|
./scripts/build_mac_plugin.sh
|
|
./scripts/build_windows_plugin.sh |