Skip to content

Commit

Permalink
build(make): fixed the Makefile
Browse files Browse the repository at this point in the history
Updated the Makefile to use melos for running tests and fixed the path
to the main entrypoint.
  • Loading branch information
YannickFricke committed Sep 24, 2024
1 parent dc55220 commit 8a128c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
DART_EXECUTABLE=dart
MAIN_ENTRYPOINT=./bin/ying.dart
MELOS_EXECUTABLE=melos

YING_ENTRYPOINT=./apps/ying/bin/ying.dart

NODEMON_EXECUTABLE=npx nodemon
NODEMON_DEFAULT_ARGS=-w ./bin/ -w ./lib/ -e dart
Expand All @@ -10,11 +12,11 @@ clear:

.PHONY: run
run:
${DART_EXECUTABLE} run ${MAIN_ENTRYPOINT}
${DART_EXECUTABLE} run ${YING_ENTRYPOINT}

.PHONY: test
test:
${DART_EXECUTABLE} test
${MELOS_EXECUTABLE} run test

.PHONY: watch
watch:
Expand Down

0 comments on commit 8a128c3

Please sign in to comment.