#rest

bin+lib forgery

A Makefile clone but with a few more features

8 releases (4 stable)

1.0.3 Jun 27, 2022
1.0.2 Jun 26, 2022
0.1.3 Jun 26, 2022

#321 in #rest

MIT license

630KB
95 lines

Contains (ELF exe/lib, 605KB) linux-forgery, (Mach-o exe, 465KB) osx-m1-forge, (Mach-o exe, 465KB) output/forgery

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
    

Dependencies