Skip to content

Guard::GitScribe automatically rebuilds your git-scribe ebooks

Notifications You must be signed in to change notification settings

isabella232/guard-git-scribe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guard support for git-scribe

  • Step 1: Have a great ebook idea

  • Step 2: ???

  • Step 3: Profit!

Kept awake on those long and lonesome nights, searching your soul for that Step 2? Well search no more, guard-git-scribe is here!

Use Guard (which is awesome) with git-scribe (extremely awesome) to write ebooks, and hit like six fewer keys every time you want to see your content in a browser.

Installation

Hanging out in your git-scribe ebook’s directory? Great, you’re good to go! Get your Gemfile dressed:

# Gemfile
source :rubygems
gem "git-scribe"
gem "guard"
gem "guard-git-scribe"

and ready for success:

$ bundle install

then get your Guardfile gussied up:

# Guardfile
guard 'git-scribe' do
  watch (%r{book/})
end

and hit the town!

$ bundle exec guard
Guard is now watching at '/Users/jason/sweet_sweet_ebook'
git-scribe is waiting for book changes...

I like to just rebuild the site target, so catch your sweet sweet prose in output/index.html. Do you use something else? Pull req me.

About

Guard::GitScribe automatically rebuilds your git-scribe ebooks

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published