-
Notifications
You must be signed in to change notification settings - Fork 6
/
Guardfile
25 lines (23 loc) · 883 Bytes
/
Guardfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Configuartion Options for guard-autoupload
opts = {
:protocol => :scp, # Protocol used to connect to remote host.
# Possible values are :scp, :sftp and :ftp.
# Of these :scp is the preferred one for
# its stability.
:host => "remote_host",
# :port => 22, # Uncomment this if you need to set port to
# something else than default.
:user => "username",
:password => "password",
:remote => "remote_path",
:verbose => true, # if true you get all outputs
:quiet => false, # if true outputs only on exceptions.
:remote_delete => true # delete remote file if local file is deleted (defaults to true)
}
guard :autoupload, opts do
watch(/^./)
ignore [%r{^.idea},
%r{^Guardfile}, #ignore the root guardfile
%r{__jb_old__}, %r{__jb_bak__} # ruby idea ingores
]
end