kronik3r / daktilo

A Jekyll theme with a minimal design inspired by typewriters.
http://daktilo.github.io/
292 stars 158 forks source link

jtasks for dev routines automation #17

Open pavdmyt opened 8 years ago

pavdmyt commented 8 years ago

Hi,

Recently I have finished jtasks, it's a tool to simplify and automate a lot of dev routines in Jekyll projects. Currently it supports following tasks:

  build     Build the site.
  clean     Clean the site.
  doctor    Search site and print specific deprecation warnings.
  list      List all posts.
  notify    Notify various services about sitemap update.
  post      Create a new post.
  preview   Launches default browser for previewing generated site.
  serve     Serve the site locally.

Check project's readme for more details and usage examples.

If you like it and consider jtasks beneficial to Daktilo, I can prepare PR for smooth integration.

kronik3r commented 8 years ago

Hey Pavel,

I took a quick look at it the the day, but I didn't understood it fully :), I will take a deep look at it later today and I will let you know what I think.

Thanks man :+1:

pavdmyt commented 8 years ago

Basically it's similar to Rakefile, but from Python world :)

Main intention is to simplify and make Jekyll CLI more convenient:

# with Jtasks:
$ inv serve -bi

# common way:
$ bundle exec jekyll serve --incremental

Jtasks also introduce some advanced features, like ping sitemap, creating posts/drafts, previewing generated site in default browser. It is also customizable on per-project basis and easily extensible with new tasks.