Rakefile in modjs-architecture-0.3.5 vs Rakefile in modjs-architecture-0.4.0
- old
+ new
@@ -66,6 +66,14 @@
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0
end
end
+namespace :docs do
+ task :build do
+ src_dir = File.expand_path('lib/modjs-architecture')
+ puts %x{docco #{src_dir}/core/*.js #{src_dir}/extensions/*.js #{src_dir}/helpers/*.js}
+ puts "Docco docs built successfully!"
+ end
+end
+
task :default => 'travis'
\ No newline at end of file