Makefile: init
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -13,3 +13,4 @@ result-*
|
||||
# Ignore generated files by default
|
||||
/mapcrafter
|
||||
/bluemap
|
||||
/out
|
||||
|
||||
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
.PHONY: all clean validate
|
||||
|
||||
all: bluemap mapcrafter
|
||||
|
||||
export PYTHONPATH := $(CURDIR)/src/
|
||||
|
||||
OUT := $(CURDIR)/out
|
||||
|
||||
validate:
|
||||
python -m cli.main validate
|
||||
|
||||
bluemap: validate
|
||||
python -m cli.main export-bluemap --output-dir "$(OUT)/bluemap"
|
||||
|
||||
mapcrafter: validate
|
||||
python -m cli.main export-mapcrafter --output-dir "$(OUT)/mapcrafter"
|
||||
|
||||
clean:
|
||||
rm -rf ./bluemap
|
||||
rm -rf ./mapcrafter
|
||||
Reference in New Issue
Block a user