2014-08-30 23:54:28 -07:00
|
|
|
require_relative "lib/git"
|
2014-08-30 23:50:03 -07:00
|
|
|
require_relative "lib/os"
|
|
|
|
require_relative "lib/output"
|
2014-08-30 23:54:28 -07:00
|
|
|
require_relative "lib/rake"
|
|
|
|
require_relative "lib/sh"
|
2014-08-30 23:50:03 -07:00
|
|
|
|
|
|
|
verbose(false)
|
|
|
|
|
|
|
|
if is_mac?
|
|
|
|
desc 'Setup/update homebrew & packages'
|
|
|
|
task :update => 'pkg:homebrew:update'
|
|
|
|
elsif is_linux?
|
|
|
|
desc 'Setup/update packages'
|
|
|
|
task :update => 'pkg:aptitude:update'
|
|
|
|
end
|
|
|
|
|
|
|
|
namespace :pkg do
|
|
|
|
load_all("pkg/*.rake")
|
|
|
|
end
|