Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56974278
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
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 | 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
Sat, Nov 14, 05:04 (1 d, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4249780
Default Alt Text
Makefile (1 KB)
Attached To
Mode
rRESOLVEHASH Resolve hash
Attached
Detach File
Event Timeline
Log In to Comment