Textmate bundle to remove a directory and build with Jekyll
- by m1755
I am looking for a simple Textmate bundle that will do the following two tasks in order:
Delete the entire contents (including folders) of a directory (eg. ~/Sites/my_site).
Run the jekyll command in the directory of the Textmate project.
I am going to associate this with a "save current file" and use it to auto build my Jekyll site into the specified directory each time I save a file inside the project.
Notes
If #2 isn't possible, then cd into a specified directory and run the jekyll command.
Would prefer bash or ruby.