| Crates.io | forgery |
| lib.rs | forgery |
| version | 1.0.3 |
| created_at | 2022-06-26 00:14:18.563311+00 |
| updated_at | 2022-06-27 02:13:37.827581+00 |
| description | A Makefile clone but with a few more features. |
| homepage | |
| repository | https://github.com/apinanyogaratnam/forgery |
| max_upload_size | |
| id | 613344 |
| size | 1,536,141 |
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.
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.
Install the latest version of forge executable here.
Add forge to your PATH.
Run forge in your project directory.
forge install
forge pip freeze