0.0
No commit activity in last 3 years
No release in over 3 years
A simple guard library for syncing local and remote directories via SFTP
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

guard-flopbox

Flopbox is a simple guard library that syncs local and remote directories via SFTP as files are changed.

Usage

This is a sample guardfile

opts = {
  :hostname    => "postercloud.com",    # remote host 
  :user        => "capuser",            # remote user
  :sftp_opts   => {},                   # options passed to Net::SFTP
  :remote      => "/home/capuser/test", # remote directory
  :debug       => true,                 # output debug information
  :growl       => true,                 # growl on completion
  :growl_image => "/path/to/image"      # image to use for growl 
}

group 'flopbox' do
  guard 'flopbox', opts do
    watch(/.*/)
  end
end

Dependencies

  • guard
  • Net::SFTP
  • growl

Author

Flopbox was written by Vincent Chu (vincentchu [at] gmail [dot] com) and is used at Posterous.