File tree 3 files changed +1
-43
lines changed
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 1
1
require "bundler/setup"
2
2
3
- task :default => :watch
3
+ task :default => :test
4
4
5
5
desc "Publish \" marketing\" docs"
6
6
task :publish do
@@ -11,36 +11,7 @@ task :publish do
11
11
sh ( "git push --tags" )
12
12
end
13
13
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
-
25
14
desc "Open your default browser with the test page"
26
15
task :test do
27
16
sh ( "open test/index.html" )
28
17
end
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