Enhanced Makefile-based task runner
Project description
Installation
You can install via pip.
pip install make-runner
Usage
All you have to do is add a comment starting with ##
to your Makefile.
The comment should be added to the end of line of PHONY targets and the above line of constant settings.
## source filename
SRC_FILE := source.txt
## target filename
TGT_FILE := target.txt
$(TGT_FILE): $(SRC_FILE)
cp $(SRC_FILE) $(TGT_FILE)
.PHONY: copy
copy: $(TGT_FILE) ## copy a file from SRC_FILE to TGT_FILE
Then, type mrun
in the same directory as your Makefile.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
make-runner-0.2.2.tar.gz
(6.2 kB
view details)
Built Distribution
File details
Details for the file make-runner-0.2.2.tar.gz
.
File metadata
- Download URL: make-runner-0.2.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.13 Linux/5.10.102.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d7eff659b686ee0b42e846658aa2e4dec0464e51d24feec1f3d8b361aa17818 |
|
MD5 | 276c21ced5d6df291f7108310b929e55 |
|
BLAKE2b-256 | dcf64f1c43db07e6e05057b6cf0eb7e4a4675d422f99877e05ebe7b3b9c10a10 |
File details
Details for the file make_runner-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: make_runner-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.13 Linux/5.10.102.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 872ac03a09f1b539c29d53759cd4a60541bdac2d01806b6ead1fb00c3d7efebb |
|
MD5 | c7d1608ddab161ebbc1485ee433dd10f |
|
BLAKE2b-256 | 90e57be7c47c38949acbca11e977e78efce08d854a6ea4794b402932cdd44522 |