Textmate bundle to remove a directory and build with Jekyll
Posted
by m1755
on Stack Overflow
See other posts from Stack Overflow
or by m1755
Published on 2010-06-10T04:40:09Z
Indexed on
2010/06/10
4:42 UTC
Read the original article
Hit count: 316
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 thejekyll
command. - Would prefer bash or ruby.
© Stack Overflow or respective owner