Skip to content

Commit

Permalink
[infra] rakefile; avoid return statement in tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
haf committed Nov 22, 2015
1 parent 035b706 commit d18b3b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ Configuration = ENV['CONFIGURATION'] || 'Release'
Platform = ENV['MSBUILD_PLATFORM'] || 'Any CPU'

task :yolo do
return if Albacore.windows?
system %{ruby -pi.bak -e "gsub(/module internal YoLo/, 'module internal Suave.Utils.YoLo')" paket-files/haf/YoLo/YoLo.fs}
system %{ruby -pi.bak -e "gsub(/module internal YoLo/, 'module internal Suave.Utils.YoLo')" paket-files/haf/YoLo/YoLo.fs} unless Albacore.windows?
end

desc "Restore paket.exe"
Expand Down

0 comments on commit d18b3b7

Please sign in to comment.