deleting dist content before building with makefile

main
Johannes Bülow 2023-01-07 15:25:11 +01:00
parent 81b0c087d3
commit 6568cd9366
Signed by untrusted user who does not match committer: jmb
GPG Key ID: B56971CF7B8F83A6
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ test:
$(JSPKGMAN) run vite check $(JSPKGMAN) run vite check
build: build:
rm -rf $(CURDIR)/dist
$(JSPKGMAN) run vite build $(JSPKGMAN) run vite build
wasm-pack: wasm-pack:
@ -22,6 +23,8 @@ docker:
podman push docker.io/jmbitci/crypttool podman push docker.io/jmbitci/crypttool
podman push docker.io/jmbitci/crypttool:$(HEAD) podman push docker.io/jmbitci/crypttool:$(HEAD)
all: build docker
#TODO get rid of -f and check whether files exist instead #TODO get rid of -f and check whether files exist instead
clean: clean: