forked from chen08209/FlClash
-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (27 loc) · 772 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (27 loc) · 772 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
android_arm64:
dart ./setup.dart android --arch arm64
macos_arm64:
dart ./setup.dart macos --arch arm64
android_app:
dart ./setup.dart android
android_arm64_core:
dart ./setup.dart android --arch arm64 --out core
macos_arm64_core:
dart ./setup.dart macos --arch arm64 --out core
macLocal:
rm -rf dist
rm -rf build
dart ./setup.dart macos --arch arm64 --env stable
macLocal_amd64:
rm -rf dist
rm -rf build
dart ./setup.dart macos --arch amd64 --env stable
notarizeLocal:
DMG_FILE=$$(ls dist/FlClashX-*.dmg) && \
echo "Found DMG: $$DMG_FILE" && \
xcrun notarytool submit "$$DMG_FILE" --keychain-profile "flclash-notarization" --wait && \
xcrun stapler staple "$$DMG_FILE" && \
xcrun stapler validate "$$DMG_FILE"
cleanLocal:
rm -rf dist
rm -rf build