Open Dzivo opened 5 years ago
This would be a good idea
I had a similar request and handled this with a bash script. Doesn't solve your problem, but in lieu of this project not getting any active development, hoping this helps:
heml_build_directory.sh
for file in src/your_directory/*.heml
do
heml build "$file"
done
run ./heml_build_directory.sh
in your console.
It's not perfect but it goes through the directory you specify and finds each .heml file, and runs a basic build command. You can change the command how you need it. You could add a mv command after to move them to a specific output directory as well.
Ability to build whole folder of haml files:
Syntax sugestion --folder -f --output -o
Root ├───Output └───Templates
Command triggered in Root