Skip to main content

Manage your Makefiles from python

Project description

pymakefile

Manage your Makefiles with python

Install

pip install pymakefile

Usage

Starting a new Makefile

pymake init

Add a new command to the Makefile

pymake add '{command_name}' '{command}' '{description}'

Example of adding new command:

pymake add runlocal 'python manage.py runserver' 'Starts the development server'

Show available commands in Makefile

make help

Development

Install dependencies

poetry install

Activate virtualenv

poetry shell

Running the commands from source

python pymakefile.py init
python pymakefile.py add '{command_name}' '{command}' '{description}'

Applying lint rules

black .

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

pymakefile-0.1.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

pymakefile-0.1.2-py3-none-any.whl (3.3 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