Sha256: 629ab4b4f6b683a2c06ea71606af2f77c89f112d21dee7d55166dbc24e707560

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

require 'launchy'

namespace :splittingred do
  desc 'Launch my GitHub page, Twitter profile, LinkedIn profile and resume.'
  task :all => [:github,:twitter,:linkedin,:resume]

  desc 'Launch my GitHub page.'
  task :github do
    Launchy.open('https://github.com/splittingred')
  end

  desc 'Launch my Twitter profile.'
  task :twitter do
    Launchy.open('https://twitter.com/splittingred')
  end

  desc 'Launch my personal website.'
  task :website do
    Launchy.open('http://splittingred.com/')
  end

  desc 'Launch my LinkedIn profile.'
  task :linkedin do
    Launchy.open('https://linkedin.com/in/splittingred')
  end

  desc 'View my resume'
  task :resume do
    Launchy.open('http://splittingred.com/resume.pdf')
  end

  desc 'Download my resume'
  task :resume_download do
    `wget http://splittingred.com/resume.pdf`
  end

  desc 'Launch my angel.co page.'
  task :angelco do
    Launchy.open('https://angel.co/splittingred')
  end
end

task :shaun_mccormick => %w(splittingred:all)
task :shaunmccormick => %w(splittingred:all)
task :splittingred => %w(splittingred:all)
task :default => %w(splittingred:all)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
splittingred-0.1.2 lib/splittingred/rake.rb