Skip to content

Commit 9607216

Browse files
authored
chore: Update base makefile to test, lint, and build all projects (#76)
1 parent 70c794f commit 9607216

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Makefile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ help: #! Show this help message
2323

2424
.PHONY: install
2525
install: #! Install all packages
26-
$(MAKE) -C $(SERVER_AI_PKG) install
27-
$(MAKE) -C $(LANGCHAIN_PKG) install
26+
$(MAKE) install-server-ai
27+
$(MAKE) install-langchain
2828

2929
.PHONY: install-server-ai
3030
install-server-ai: #! Install server-ai package
@@ -40,7 +40,8 @@ install-langchain: #! Install langchain provider package
4040

4141
.PHONY: test
4242
test: #! Run unit tests for all packages
43-
$(MAKE) -C $(SERVER_AI_PKG) test
43+
$(MAKE) test-server-ai
44+
$(MAKE) test-langchain
4445

4546
.PHONY: test-server-ai
4647
test-server-ai: #! Run unit tests for server-ai package
@@ -52,7 +53,8 @@ test-langchain: #! Run unit tests for langchain provider package
5253

5354
.PHONY: lint
5455
lint: #! Run type analysis and linting checks for all packages
55-
$(MAKE) -C $(SERVER_AI_PKG) lint
56+
$(MAKE) lint-server-ai
57+
$(MAKE) lint-langchain
5658

5759
.PHONY: lint-server-ai
5860
lint-server-ai: #! Run type analysis and linting checks for server-ai package
@@ -68,7 +70,8 @@ lint-langchain: #! Run type analysis and linting checks for langchain provider p
6870

6971
.PHONY: build
7072
build: #! Build all packages
71-
$(MAKE) -C $(SERVER_AI_PKG) build
73+
$(MAKE) build-server-ai
74+
$(MAKE) build-langchain
7275

7376
.PHONY: build-server-ai
7477
build-server-ai: #! Build server-ai package

0 commit comments

Comments
 (0)