peachy/Makefile

26 lines
570 B
Makefile
Raw Permalink Normal View History

2024-06-10 04:50:33 +00:00
.PHONY: build/peachy.com
build/peachy.com: build/redbean-2.2.com
cp build/redbean-2.2.com build/peachy-noassets.com
cd assets ; zip -r ../build/peachy-noassets.com . ; cd ..
mv build/peachy-noassets.com build/peachy.com
2024-06-10 00:01:15 +00:00
.PHONY: run
2024-06-10 04:50:33 +00:00
run: build/peachy.com
build/peachy.com
2024-06-10 00:01:15 +00:00
2024-07-18 06:52:48 +00:00
.PHONY: test
test: build/peachy.com
build/peachy.com -F tests/main.lua
2024-06-10 04:50:33 +00:00
build/redbean-2.2.com:
wget --directory-prefix build https://redbean.dev/redbean-2.2.com
chmod a+x build/redbean-2.2.com
2024-06-10 04:28:01 +00:00
2024-06-10 04:50:33 +00:00
.PHONY: clean
clean:
rm build/peachy*
2024-06-10 04:28:01 +00:00
2024-06-10 04:50:33 +00:00
.PHONY: clean-redbean
clean-redbean:
rm build/redbean*