Added separate Makefile for frontend

This commit is contained in:
Fabio Manganiello 2025-02-28 02:25:40 +01:00
parent 1d8d748a0a
commit f349b2c5be
Signed by: blacklight
GPG key ID: D90FBA7F76362774
4 changed files with 10 additions and 13 deletions

View file

@ -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

View file

@ -66,9 +66,3 @@ npm run dev
cd frontend
npm run dev
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```

5
frontend/Makefile Normal file
View file

@ -0,0 +1,5 @@
.PHONY: all
all:
npm install && \
npm run build

View file

@ -7,8 +7,7 @@ See [main `README`](../README.md) for more information.
## Building the frontend
```sh
npm install
npm run build
make
```
## Configuration