Skip to main content

Enhanced Makefile-based task runner

Project description

banner

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 constant settings and PHONY targets.

SRC_FILE := source.txt ## source filename
TGT_FILE := target.txt ## target filename

$(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.

screenshot

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.1.3.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

make_runner-0.1.3-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page