Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Expanded behavior for tilt #128

wants to merge 15 commits into


None yet
2 participants

thinkerbot commented Jan 8, 2012

I propose an extension to the tilt exe, as outlined in the usage information. I think this will make tilt much more capable because you could render a whole series of templates from an input dir to an output dir.

I plan on building this behavior somewhere. If you like this proposal, then I'll write it into tilt itself. Otherwise, I'll make a separate fork or project.

Thanks! Appreciate the great library!

Use Case

mkdir -p inputs outputs
echo "obj: milk" > attributes.yml
echo "Got <%= obj %>" > inputs/file.txt.erb
tilt --attrs attributes.yml --input-dir inputs --output-dir outputs --files inputs/*

The result would be 'outputs/file.txt' with content 'Got milk'.


thinkerbot commented Feb 4, 2012

Ok, so the extension is done. An example using it to build a static site is here: https://gist.github.com/1734959


judofyr commented May 1, 2013

I think a separate project is a better approach.

@judofyr judofyr closed this May 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment