forked from Shopify/memcached_store
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
21 lines (17 loc) · 630 Bytes
/
Rakefile
File metadata and controls
21 lines (17 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'bundler/gem_tasks'
require 'rake/testtask'
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "memcached_store/version"
task default: :test
desc 'run test suite with default parser'
Rake::TestTask.new do |t|
t.libs << "test"
t.libs << "lib/**/*"
t.test_files = FileList['test/test*.rb']
t.verbose = false # memcached gem has loads of uninitialized instance variables
end
task tag: :build do
system "git commit -m'Released version #{MemcachedStore::VERSION}' --allow-empty"
system "git tag -a v#{MemcachedStore::VERSION} -m 'Tagging #{MemcachedStore::VERSION}'"
system "git push --tags"
end