First step toward cross mac-ubuntu compatibility
This commit is contained in:
parent
dcb35d2711
commit
b7c400cb1c
|
@ -1,7 +1,5 @@
|
||||||
# Dotfiles of a spaghetti code warrior
|
# Dotfiles of a spaghetti code warrior
|
||||||
|
|
||||||
My mac dotfiles.
|
My mac and ubuntu/debian dotfiles.
|
||||||
|
|
||||||
Yes. They bite.
|
Yes. They bite.
|
||||||
|
|
||||||
(Check out the ubuntu branch for debian dotfiles)
|
|
||||||
|
|
|
@ -2,12 +2,7 @@
|
||||||
desc "Provision home server"
|
desc "Provision home server"
|
||||||
task :callisto do
|
task :callisto do
|
||||||
%w{
|
%w{
|
||||||
osx
|
|
||||||
homebrew
|
|
||||||
zsh
|
zsh
|
||||||
vim
|
vim
|
||||||
nginx
|
|
||||||
mongodb
|
|
||||||
gitlab
|
|
||||||
}.each { |task| Rake::Task[task].invoke }
|
}.each { |task| Rake::Task[task].invoke }
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
if RUBY_PLATFORM =~ /darwin/
|
||||||
|
|
||||||
require_relative "../lib/output"
|
require_relative "../lib/output"
|
||||||
require_relative "../lib/homebrew"
|
require_relative "../lib/homebrew"
|
||||||
require_relative "../lib/sh"
|
require_relative "../lib/sh"
|
||||||
|
@ -59,3 +61,5 @@ namespace :homebrew do
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue