mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
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:
parent
38242a8ca6
commit
71ffbe0e43
2 changed files with 4 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -39,4 +39,5 @@ tmp/
|
|||
package-lock.json
|
||||
# Ditto for yarn, except we're using npm.
|
||||
yarn.lock
|
||||
dist/
|
||||
dist/*
|
||||
!dist/.gitkeep
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue