Page MenuHomeDevCentral

Makefile
No OneTemporary

Makefile

# -------------------------------------------------------------
# Merge dictionaries
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# -------------------------------------------------------------
RMDIR=rm -rf
PYTHON=python
DISCOVER_TESTS=$(PYTHON) -m unittest discover
REFORMAT=black
# -------------------------------------------------------------
# Main targets
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
all:
package: dist
clean: clean-package
test:
${DISCOVER_TESTS} tests/
# -------------------------------------------------------------
# Development helpers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
reformat:
find bin -type f -name '*.py' | xargs ${REFORMAT}
find src -type f -name '*.py' | xargs ${REFORMAT}
find tests -type f -name '*.py' | xargs ${REFORMAT}
# -------------------------------------------------------------
# Packaging targets
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dist:
${PYTHON} -m build
clean-package:
${RMDIR} dist src/merge_dictionaries.egg-info

File Metadata

Mime Type
text/x-makefile
Expires
Thu, Dec 26, 16:15 (8 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2315182
Default Alt Text
Makefile (1 KB)

Event Timeline