Skip to content

Commit

Permalink
chore: In mobile/Makefile, use ts_check after node_modules
Browse files Browse the repository at this point in the history
This is the same fix as gnoverse/dsocial#134

Signed-off-by: Jeff Thompson <jeff@thefirst.org>
  • Loading branch information
jefft0 committed Oct 4, 2024
1 parent 9d2f883 commit 8095388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/js/expo/gnoboard/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ ts_check:

# - Node: Handle node_modules

node_modules: ts_check package.json package-lock.json
node_modules: package.json package-lock.json
$(call check-program, npm)
(npm install && touch $@) || true
.PHONY: node_modules

######### ANDROID #########

android: node_modules $(ANDROID_FRAMEWORK_SRC)
android: node_modules ts_check $(ANDROID_FRAMEWORK_SRC)
$(call check-program, npx)
npx expo run:android
.PHONY: build.android
Expand All @@ -46,7 +46,7 @@ $(ANDROID_FRAMEWORK_SRC): $(go_deps)

######### IOS #########

ios: node_modules $(IOS_FRAMEWORK_SRC)
ios: node_modules ts_check $(IOS_FRAMEWORK_SRC)
$(call check-program, npx)
npx expo run:ios
.PHONY: build.ios
Expand Down

0 comments on commit 8095388

Please sign in to comment.