feat: first release !
This commit is contained in:
1 parent
77a333e8d9
commit
664527182d
66 files changed
+13812
-16
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# webkit2_41: Arch and recent distros only ship WebKitGTK 4.1.
|
||||
TAGS := desktop,production,webkit2_41
|
||||
|
||||
.PHONY: build frontend dev test screenshots clean
|
||||
|
||||
build: frontend
|
||||
go build -tags $(TAGS) -ldflags "-s -w" -o build/bin/plotzilla .
|
||||
|
||||
frontend:
|
||||
cd frontend && npm install && npm run build
|
||||
|
||||
# Live reload (requires the Wails CLI: go install github.com/wailsapp/wails/v2/cmd/wails@latest)
|
||||
dev:
|
||||
wails dev -tags webkit2_41
|
||||
|
||||
test:
|
||||
go test ./internal/...
|
||||
|
||||
# README images (screenshots/), from the sample script in tools/screenshots.
|
||||
# Needs Firefox, and pdftoppm (poppler) for pdf-output.png.
|
||||
screenshots: frontend
|
||||
cd tools/screenshots && npm install --no-fund
|
||||
go run ./tools/screenshots $(SCREENSHOTS_FLAGS)
|
||||
|
||||
clean:
|
||||
rm -rf build/bin frontend/dist/assets frontend/dist/index.html
|
||||
Reference in new issue
Block a user