ci: move react api copy command over to build step from get-deps
@@ -17,8 +17,7 @@ check:
$(MAKE) -C elm $@
$(MAKE) -C tests $@
-get-deps:
- $(MAKE) -C api-ts-sdk $@
+get-deps: build-api-ts-sdk
$(MAKE) -C react $@
$(MAKE) -C elm $@
$(MAKE) -C tests $@
@@ -26,18 +25,22 @@ get-deps:
.PHONY: build
build: build-react build-elm
+.PHONY: build-proto
+build-proto:
+ $(MAKE) -C ../proto build
+
+.PHONY: build-api-ts-sdk
+build-api-ts-sdk: build-proto
+ $(MAKE) -C api-ts-sdk build
+
.PHONY: build-react
-build-react: build-api-ts-sdk
+build-react:
$(MAKE) -C react build
.PHONY: build-elm
build-elm:
$(MAKE) -C elm build
-.PHONY: build-api-ts-sdk
-build-api-ts-sdk:
- $(MAKE) -C api-ts-sdk build
-
test:
$(MAKE) -C react $@
$(MAKE) -C elm $@
