diff --git a/Makefile b/Makefile index 21bea19..ec275d9 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,9 @@ +.PHONY: all backend frontend +all: backend frontend + backend: npm install && \ npm run build frontend: - cd frontend && \ - npm install && \ - npm run build - -all: backend frontend + cd frontend && make diff --git a/README.md b/README.md index 0efcde0..86373c7 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,3 @@ npm run dev cd frontend npm run dev ``` - -### Lint with [ESLint](https://eslint.org/) - -```sh -npm run lint -``` diff --git a/frontend/Makefile b/frontend/Makefile new file mode 100644 index 0000000..e8cdf8e --- /dev/null +++ b/frontend/Makefile @@ -0,0 +1,5 @@ +.PHONY: all + +all: + npm install && \ + npm run build diff --git a/frontend/README.md b/frontend/README.md index 975d5a5..e617ee5 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -7,8 +7,7 @@ See [main `README`](../README.md) for more information. ## Building the frontend ```sh -npm install -npm run build +make ``` ## Configuration