# Task for building the jar file containing all the things

desc "Build the uberjar"
task :uberjar => [  ] do
  if `which lein`
    sh "lein uberjar"
    mv "target/#{EZBake::Config[:uberjar_name]}", EZBake::Config[:uberjar_name]
  else
    puts "You need lein on your system"
    exit 1
  end
end


# Task for building the jar file containing all the things

desc "Build the uberjar"
task :uberjar => [  ] do
  if `which lein`
    sh "lein -U uberjar"
    mv "target/#{EZBake::Config[:uberjar_name]}", EZBake::Config[:uberjar_name]
  else
    puts "You need lein on your system"
    exit 1
  end
end


Add -U to `lein uberjar`
Add -U to `lein uberjar`

Without this, we don't always check for updated SNAPSHOTs.
