Permalink
Browse files

Updated template install with more test cases

  • Loading branch information...
1 parent 7da0b46 commit 41e24983bc7282970b510486b5ef8f9a8b647353 @lnguyen lnguyen committed May 9, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 bin/templates/install
View
16 bin/templates/install
@@ -50,6 +50,22 @@ ls -lh /tmp/README
# View template created
cat /tmp/README
+# Clean up
+file remove /tmp/README
+
+# Declare variable
+typeset -a _variables
+
+# Set variable
+_variables+=("application_name" "awesome_name" "environment_name" "staging")
+
+# Install the template README using variables from
+templates install "apidoc/README" \
+ to /tmp/README \
+ variables from _variables
+
+cat /tmp/README
+
# Clean up
file remove /tmp/README

0 comments on commit 41e2498

Please sign in to comment.