diff --git a/.gitignore b/.gitignore index 5b82820..d437f49 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,5 @@ tmp/ package-lock.json # Ditto for yarn, except we're using npm. yarn.lock -dist/ +dist/* +!dist/.gitkeep diff --git a/Makefile b/Makefile index 0d2b0a2..489c790 100644 --- a/Makefile +++ b/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)