17 lines
442 B
Makefile
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
|