Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11722181
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
Makefile
View Options
# -------------------------------------------------------------
# Resolve hash
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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/resolve_hash.egg-info
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Thu, Sep 18, 01:42 (1 d, 2 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2989717
Default Alt Text
Makefile (1 KB)
Attached To
Mode
rRESOLVEHASH Resolve hash
Attached
Detach File
Event Timeline
Log In to Comment