File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
cd " $( dirname " $0 " ) "
3
3
source ./script/setup.sh
4
4
5
- ./generate.sh --ignore-xcodeproj
5
+ # It takes 300ms for script to complete. It's too long to run in build-debug.sh
6
+ ./generate.sh --ignore-xcodeproj --ignore-cmd-help
6
7
swift build
7
8
swift build --target AppBundleTests # swift build doesn't build test targets by default :(
8
9
Original file line number Diff line number Diff line change @@ -5,11 +5,13 @@ source ./script/setup.sh
5
5
export XCODEGEN_AEROSPACE_CODE_SIGN_IDENTITY=" aerospace-codesign-certificate"
6
6
build_version=" 0.0.0-SNAPSHOT"
7
7
generate_xcodeproj=1
8
+ generate_cmd_help=1
8
9
all=0
9
10
while test $# -gt 0; do
10
11
case $1 in
11
12
--build-version) build_version=" $2 " ; shift 2 ;;
12
13
--codesign-identity) XCODEGEN_AEROSPACE_CODE_SIGN_IDENTITY=" $2 " ; shift 2 ;;
14
+ --ignore-cmd-help) generate_cmd_help=0; shift 1 ;;
13
15
--ignore-xcodeproj) generate_xcodeproj=0; shift 1 ;;
14
16
--all) all=1; shift 1 ;;
15
17
* ) echo " Unknown option $1 " ; exit 1 ;;
24
26
if test $all = 1; then
25
27
# Grammar is not expected to change very often, that's why it's not regenerated by default
26
28
./generate-shell-parser.sh
29
+ fi
27
30
28
- # It takes 300ms for script to complete. It's too long to run in build-debug.sh
31
+ if test $generate_cmd_help = 1; then
32
+ # It takes 300ms for the script to complete
29
33
./script/generate-cmd-help.sh
30
34
fi
31
35
You can’t perform that action at this time.
0 commit comments