Skip to main content

A Makefile-compatibile Build Tool

Project description

Weasel Make

Weasel Make is a Makefile-compatible build tool that hides the output of your commands if it executed successfully. Very useful when executing make build deploy over and over again.

Features

  • Bash auto-completions - Just press tab after the weasel command to see the list of available actions.
  • Output folding - Hides output of successful commands, or shows it if the command failed.
  • Secrets obfuscation - Any line of text that looks like it might be sensitive secrets information gets replaced with ***

Installation

Install easily with pip install weasel-make. If you are installing without sudo, make sure to add python to your PATH by executing:

echo 'export PATH=$(python3 -m site --user-base)/bin:$PATH' >> ~/.bashrc

To install auto-completions for weasel, also execute the following:

echo 'source <(weasel --bash-autocompletions-source)' >> ~/.bashrc

Usage

To execute targets from your Makefile with Weasel Make, use the weasel command followed by your target names:

weasel build deploy

This will run the build and deploy targets as specified in your Makefile.

Makefile Compatibility

Weasel Make is designed to be compatible with standard Makefiles, so you should be able to run your existing Makefiles without any modifications.

Contributing

Contributions are welcome! Please feel free to submit pull requests or create issues if you encounter any problems or have suggestions for new features.

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

weasel_make-0.3.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

weasel_make-0.3.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file weasel_make-0.3.2.tar.gz.

File metadata

  • Download URL: weasel_make-0.3.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for weasel_make-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f8db0887896bc0c0bcd776da29a1a2cc32e5d536f6f3afd2e9a464df20e1a995
MD5 878e9b15fb2e50ba5ff6214892d23c5a
BLAKE2b-256 2873bfbd063e240deae2df753530639b6210bc91c80ac7bd869c0fd4e8afe312

See more details on using hashes here.

File details

Details for the file weasel_make-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: weasel_make-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for weasel_make-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b38fa312d5d69587265e4dc021c48718101a3b6e24d513a3aea5b48e38cb923
MD5 3a15b1460d03c4ed7b819cb56cae3c75
BLAKE2b-256 4f0233d694dbe1266bfa0f09a06a4628fd85fa32a96aed94d477e42b609125d7

See more details on using hashes here.

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