Skip to content

Commit

Permalink
chore: gnoboard: In Makefile, call ts_check after node_modules for ea…
Browse files Browse the repository at this point in the history
…ch target

This is the same fix as PR gnoverse/dsocial#134

Signed-off-by: Jeff Thompson <jeff@thefirst.org>
  • Loading branch information
jefft0 committed Oct 8, 2024
1 parent cd17afc commit b314c9e
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 b314c9e

Please sign in to comment.