forgery

Crates.ioforgery
lib.rsforgery
version1.0.3
sourcesrc
created_at2022-06-26 00:14:18.563311
updated_at2022-06-27 02:13:37.827581
descriptionA Makefile clone but with a few more features.
homepage
repositoryhttps://github.com/apinanyogaratnam/forgery
max_upload_size
id613344
size1,536,141
Apinan Yogaratnam (apinanyogaratnam)

documentation

README

Forgery

A Makefile clone but with a few more features. It allows you to run commands you would normally do in a terminal but specify shortcut commands to use like a Makefile. It also allows you to run commands before each and every command you specified using the .init key.

How to use

  1. Create a forgefile.json file in the root of your project.

    {
        ".init": ["source venv/bin/activate"],
        "install": ["pip install -r requirements.txt"],
        "print": ["echo 'Hello World!'"]
    }
    

    The .init key is required. The rest of the keys are optional. In a future release, the .init key will be optional. It will run before each command in the list of commands provided per key.

  2. Install the latest version of forge executable here.

  3. Add forge to your PATH.

  4. Run forge in your project directory.

    forge install
    forge pip freeze
    
Commit count: 82

cargo fmt