Skip to content

Commit

Permalink
Revised readme documentation of post-generation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Knetic committed Jul 25, 2015
1 parent fa97cbc commit 02bd175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ This flag works with any valid skeleton, including directories, archives, and re

###Can I run a script after wisking a new project?

Absolutely! Use `-s` to specify a post-generation script. Example;
Absolutely! If the skeleton project contains a file named `_postGenerate.sh` at the top level, then `wisk` will execute that script after generating a project.

wisk -s ./git_init.sh ./skeleton ./cool_project
The script's working directory will be set to the generated project's directory.

Where "git_init.sh" is an executable file that is NOT located in a project skeleton.
Note that this may have security implications. Inspect post-generation scripts created by others before using project skeletons.

###Branching

Expand Down

0 comments on commit 02bd175

Please sign in to comment.