Skip to content

Commit

Permalink
Merge pull request #23 from superarts/bugfix/#22-cpu-arch
Browse files Browse the repository at this point in the history
#22: fixed a CPU architecture issue in build script
  • Loading branch information
superarts authored Jan 16, 2024
2 parents 8caec2f + 2855179 commit 1b60cef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions StringCatalogEnum/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
NAME=xcstrings-enum-generate
FILENAME_USAGE=USAGE.md
BUILD_PATH=./.build/apple/Products/Release/

# TODO: get from ENV
EXPORT_PROJECT_ROOT=~/prj/quible/quible-ios
EXPORT_PROJECT_ROOT=~/prj/business/quible/quible-ios
# TODO: remove other hard-coded paths

all: debug
Expand All @@ -17,8 +18,8 @@ debug:
cp ./.build/debug/$(NAME) .

release: clean
swift build -c release
cp ./.build/release/$(NAME) .
swift build -c release --arch x86_64 --arch arm64
cp $(BUILD_PATH)/$(NAME) .
cp xcstrings-enum-generate $(EXPORT_PROJECT_ROOT)/utility/

test:
Expand Down

0 comments on commit 1b60cef

Please sign in to comment.