Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move version requirement to the top in the rakefile.

  • Loading branch information...
commit 24be4554e8756eeea3c9ccfeb6408347212d9590 1 parent dd40382
@wayneeseguin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -2,6 +2,8 @@ lib = File.join(File.dirname(__FILE__),'lib', __FILE__)
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
+require 'psql-cm/version'
+
def database
@database ||= ENV["database"] || 'psqlcm_development'
end
@@ -40,7 +42,6 @@ end
desc "Build then install the psql-cm gem"
task :install => :build do
- require 'psql-cm/version'
shell "gem install psql-cm-#{::PSQLCM::Version}.gem"
end
@@ -106,7 +107,6 @@ namespace :submit do
end
task :release do
- require 'psql-cm/version'
shell "
git tag #{::PSQLCM::Version};
git push origin --tags;
Please sign in to comment.
Something went wrong with that request. Please try again.