initial commit
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
all: Makefile dist/index.html static
|
||||
|
||||
dist/index.html: build.py Makefile index.html res/arrow-path.txt res/i18n.yml
|
||||
mkdir -p dist
|
||||
python3 build.py
|
||||
|
||||
STATIC_FILES := $(wildcard vendor/*) res/ln-s.png res/ln-s.webp
|
||||
|
||||
.PHONY: static
|
||||
static: $(STATIC_FILES)
|
||||
mkdir -p dist/vendor
|
||||
cp -r vendor/* dist/vendor/
|
||||
cp res/ln-s.png res/ln-s.webp dist/
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf dist/
|
||||
Reference in New Issue
Block a user