chore: fixes to paste ui

This commit is contained in:
xuu
2023-11-08 13:44:28 -07:00
parent 9a26239aa7
commit f71e50fbe6
11 changed files with 237 additions and 58 deletions

View File

@@ -3,7 +3,6 @@ export HTTP_LISTEN=:8085
export PASTE_STORE=data/paste/
export ARTIFACT_STORE=data/artifact/
export IMAGE_STORE=data/image/
export CGO_ENABLED=0
SOURCE=$(wildcard *.go) $(wildcard paste/*.go) $(wildcard assets/*.go)
ASSETS=$(wildcard assets/*) $(wildcard assets/public/*) $(wildcard assets/src/*) $(wildcard assets/src/paste/*)
@@ -21,8 +20,7 @@ test:
go test ./...
go vet ./...
run: $(BINARY)
# go run ./v2
./$(BINARY)
go run .
build-assets: $(ASSET_FILE)
${ASSET_FILE}: $(ASSETS)