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.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

weasel_make-0.3.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weasel_make-0.3.0.tar.gz
  • Upload date:
  • Size: 5.8 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.0.tar.gz
Algorithm Hash digest
SHA256 c5505168a8799a2e86a196cca435c1432e6f41eb6d78bf05985aceb775459727
MD5 2d0e9526549a5b94c4b5472960005c9c
BLAKE2b-256 ccebe14bcc6d782dffcca71c65505526d788a8067af09700cb69fa3014100a79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: weasel_make-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e459a63c3ac64ef077b567642dcb03d47d9686d1fb540794703cd38bc4633795
MD5 5a6a1124973c2651e3f99df55060f25b
BLAKE2b-256 42ac56b57f8ba92f0de9c150a53674ca64d98896f7c0691274d17a998e5aff30

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