This commit is contained in:
Xuu
2020-08-28 16:50:27 -06:00
parent 41924fbd8b
commit 67c9c41a24
9 changed files with 206 additions and 318 deletions

View File

@@ -29,7 +29,10 @@ run: $(BINARY)
$(BINARY): $(SOURCE) $(ROUTE_ASSET) $(DOCS_ASSET)
go build "sour.is/x/paste/cmd/paste"
build-ui: $(ROUTE_ASSET) $(DOCS_ASSET)
clean-ui:
rm -rf $(ROUTE_ASSET) $(DOCS_ASSET)
build-ui: clean-ui $(ROUTE_ASSET) $(DOCS_ASSET)
$(ROUTE_ASSET):
cd assets; \
rm -rf build ../public; \