peachy/Makefile
2024-06-09 22:28:01 -06:00

17 lines
442 B
Makefile

.PHONY: run
run: .build/peachy.com
.build/peachy.com
.PHONY: .build/peachy.com
.build/peachy.com: redbean/redbean-2.2.com
mkdir -p .build
# rm .build/*
cp redbean/redbean-2.2.com .build/peachy-noassets.com
zip -r .build/peachy-noassets.com .init.lua .lua
mv .build/peachy-noassets.com .build/peachy.com
.redbean/redbean-2.2.com:
wget --directory-prefix redbean https://redbean.dev/redbean-2.2.com
chmod a+x redbean/redbean-2.2.com