amp / ampfile.rb

require 'amp/extensions/stats'
require 'amp/extensions/bugs'
# need { 'lib/amp/extensions/ditz' }
# need { 'lib/amp/extensions/lighthouse' }

# Amp::LighthouseHook.add_hooks(:commit) do |hook|
#   hook.token   = 'e4d6af1951c240e00c216bad3c52cf269cba4a7c'
#   hook.account = 'carbonica'
#   hook.project = 'amp'
# end

namespace :docs do
  
  command "gen" do |c|
    c.desc "create the docs"
    c.on_run {|o, a| `rake yard:doc`; puts 'docs made!' }
  end
  
  command "upload" do |c|
    c.desc "upload the docs"
    c.on_run {|o, a| puts "(noop) docs uploaded!!!!" }
  end
  
  namespace :search do
    
    command "methods" do |c|
      c.desc "search method names"
      c.on_run {|o, a| puts "#{a.inspect}"}
    end
  end
end
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.