File tree Expand file tree Collapse file tree 3 files changed +1
-43
lines changed Expand file tree Collapse file tree 3 files changed +1
-43
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11require "bundler/setup"
22
3- task :default => :watch
3+ task :default => :test
44
55desc "Publish \" marketing\" docs"
66task :publish do
@@ -11,36 +11,7 @@ task :publish do
1111 sh ( "git push --tags" )
1212end
1313
14- desc "Build everything"
15- task :build do
16- rebuild_coffee
17- end
18-
19- desc "Watch for changes and test the site"
20- task :watch => :build do
21- sh ( "open test/index.html" )
22- monitor
23- end
24-
2514desc "Open your default browser with the test page"
2615task :test do
2716 sh ( "open test/index.html" )
2817end
29-
30- def rebuild_coffee ( base = nil , relative = "**/*.coffee" )
31- sh ( "coffee -c #{ relative } " )
32- end
33-
34- def monitor
35- require "fssm"
36- puts ">>> Monitoring for changes. Press Ctrl-C to Stop."
37- FSSM . monitor do
38- path "." do
39- glob "**/*.coffee"
40- update &method ( :rebuild_coffee )
41- delete &method ( :rebuild_coffee )
42- create &method ( :rebuild_coffee )
43- end
44- end
45- end
46-
You can’t perform that action at this time.
0 commit comments