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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: weasel_make-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 beb0cfcf35811c2a5602741e758ed134db5e03dd4bbb527dd296fb8d25691b13
MD5 468f192f1310dd2bbdca4bb2e5d885d9
BLAKE2b-256 69ca3e1a602c85e819653ecd4818f83537eb51902446cf47146f582d74606416

See more details on using hashes here.

File details

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

File metadata

  • Download URL: weasel_make-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cbf53ba456ee743a7b0ec6d3f7d482101d9302d36294bf013c51eecb5b1fdc23
MD5 7113f00e934925f961f3ce42bda48b55
BLAKE2b-256 bc01bf3932f13af8056aad40b24d4a41c9609b3f1678974e3ce4947c1ae8f7e4

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