Add static target

This commit is contained in:
Maksym Pavlenko
2019-05-11 11:56:15 -07:00
parent 6f96be168d
commit 7bf68f5448
3 changed files with 312 additions and 86 deletions
+6
View File
@@ -22,3 +22,9 @@ test:
up:
docker-compose pull
docker-compose up -d
.PHONY: static
static:
- rm -rf dist/
npm install
npm run build
+8
View File
@@ -31,3 +31,11 @@ cd cmd/ytdl/
docker-compose pull
docker-compose up -d
```
## Building frontend
Node.js and npm are required in order to build the frontend:
```bash
brew install node
make static
ls -la dist/
```
+298 -86
View File
File diff suppressed because it is too large Load Diff