2024-06-10 00:01:15 +00:00
|
|
|
.PHONY: run
|
2024-06-10 04:28:01 +00:00
|
|
|
run: .build/peachy.com
|
|
|
|
.build/peachy.com
|
2024-06-10 00:01:15 +00:00
|
|
|
|
2024-06-10 04:28:01 +00:00
|
|
|
.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:
|
2024-06-10 00:01:15 +00:00
|
|
|
wget --directory-prefix redbean https://redbean.dev/redbean-2.2.com
|
|
|
|
chmod a+x redbean/redbean-2.2.com
|