Created
April 7, 2013 15:27
-
-
Save ducin/5330919 to your computer and use it in GitHub Desktop.
Concatenate all ICanHaz templates to one single file to make your project both load templates efficient/flexible and easy to maintain for many developers to work within a version control system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
path="src/main/web" | |
> "$path"/templates.ich | |
for file in "$path"/templates/* | |
do | |
cat "$file" >> "$path"/templates.ich |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment