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

Uploaded Source

Built Distribution

weasel_make-0.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weasel_make-0.2.0.tar.gz
  • Upload date:
  • Size: 5.2 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.2.0.tar.gz
Algorithm Hash digest
SHA256 dda9615fde247516c44634f3f4da191ff77676bad4cd549a8401a41b9efccf04
MD5 9033a0f967b957d29f98aea80a1a10af
BLAKE2b-256 2bf162b941ffc78850108349cd4c8c1cab5abd503db6cd490f0aace178525a22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: weasel_make-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed9d678e6a3d7de1df4182ab3b36e8c495336089fdf48cf2a686646038c3a8fe
MD5 cd8dc0f45bba3c3f7b4300376c27b4ea
BLAKE2b-256 dc3976ff60e4a7c46d0eda7d5badce03e3fa38bb35c91998d6b39d6cbfd5d786

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