Savitri code generator
Project description
savitrigen
Savitri Project’s official code generation tool.
Usage
Once installed, savitrigen will become available as a Python executable module. You can call it by running python -m savitrigen [options]
Behavior
Savitrigen will look for source/.gitignore to check if the bootstrap repository has already been cloned. If it hasn’t already, savitrigen will then clone it inside source folder. In the next step it will check if npm modules has already been installed then install it if it hasn’t. Thus savitrigen will skip the cloning/installation steps in consecutive runs.
Savitrigen will then produce the project scaffolding according to briefing.yml. If it isn’t being run for the first time, it’ll overwrite existing files and leave extra files untouched. At the moment there’s not a cleanup routine (for safety reasons), so if a entity is removed from briefing.yml then savitrigen is run for a second time then this entity residual files will remain and will have to be manually removed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for savitrigen-0.0.93-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce52c90e4575baf89b22d63bcbca634969cf48b6a4dc5f6d7090533597f6853 |
|
MD5 | 700fe54cbc2d68f9341c3c6871496c99 |
|
BLAKE2b-256 | 4c255aabd05026d55c13f0de69be1e83b53f897c7c682c14dcdb9500bdbc84e1 |