mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
make: add clean target
This commit is contained in:
6
Makefile
6
Makefile
@@ -47,7 +47,7 @@ help:
|
||||
|
||||
# $(ZIG) commands
|
||||
# ------------
|
||||
.PHONY: build build-v8-snapshot build-dev run run-release test bench data end2end
|
||||
.PHONY: build build-v8-snapshot build-dev run run-release test bench data end2end clean
|
||||
|
||||
## Build v8 snapshot
|
||||
build-v8-snapshot:
|
||||
@@ -93,6 +93,10 @@ end2end:
|
||||
@test -d ../demo
|
||||
cd ../demo && go run runner/main.go
|
||||
|
||||
## Remove build artifacts (keeps v8/ and zig-pkg/ — slow to re-fetch)
|
||||
clean:
|
||||
rm -rf zig-out .zig-cache src/snapshot.bin
|
||||
|
||||
# Install and build required dependencies commands
|
||||
# ------------
|
||||
.PHONY: install
|
||||
|
||||
Reference in New Issue
Block a user