-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.sidekick
44 lines (23 loc) · 890 Bytes
/
.sidekick
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# DELETE THIS LINE:
# Then set up some actions. Here are some samples:
# watch('**.rb') do |paths| # em-dir-watcher style path globs, which are
# log 'code change' # somewhat similar to .gitignore.
# restart_passenger # see https://github.com/mockko/em-dir-watcher
# rake 'docs'
# end
# after(5) { notify sh 'fortune' }
# every(60*60) { notify 'You are now one hour older.' }
# on_stop { notify 'Goodbye' }
# auto_compile 'assets/css/*.sass', 'public/css/:name.css'
# auto_compile 'assets/js/*.coffee', 'public/js/:name.js'
# auto_compress( 'public/package.js',
# 'public/vendor/jquery.js',
# 'public/js/*.js'
# )
# passenger_server 3002
# def report_location
# needs 'httparty', 'to look up your location'
# loc = HTTParty.get('http://ipinfodb.com/ip_query.php')
# notify "You are in #{loc['Response']['City']}"
# end
# vim:ft=ruby