build: use pnpm in Makefile (#931)

* chore(build): Use pnpm in Makefile

* 🏃‍♂️

* fix: add back gitkeep

---------

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
Raymond Ha 2023-05-14 10:13:19 -07:00 committed by GitHub
parent 38242a8ca6
commit 71ffbe0e43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View file

@ -39,4 +39,5 @@ tmp/
package-lock.json
# Ditto for yarn, except we're using npm.
yarn.lock
dist/
dist/*
!dist/.gitkeep

View file

@ -15,7 +15,7 @@ BINDIR = bin
all: clean build
deps:
cd web && yarn install
cd web && pnpm install
go mod download
test:
@ -30,7 +30,7 @@ build/ctl:
go build -ldflags $(GOFLAGS) -o bin/autobrrctl cmd/autobrrctl/main.go
build/web:
cd web && yarn build
cd web && pnpm run build
build/docker:
docker build -t autobrr:dev -f Dockerfile . --build-arg GIT_TAG=$(GIT_TAG) --build-arg GIT_COMMIT=$(GIT_COMMIT)