2016-04-14 23:38:41 +03:00
|
|
|
.PHONY: build test publish
|
|
|
|
|
|
|
|
build:
|
|
|
|
gem build lightstep-tracer.gemspec
|
|
|
|
|
|
|
|
test:
|
|
|
|
rake spec
|
2016-04-16 00:14:19 +03:00
|
|
|
ruby example.rb
|
2016-04-14 23:38:41 +03:00
|
|
|
|
|
|
|
publish: build test
|
2016-04-16 00:22:12 +03:00
|
|
|
ruby -e 'require "bump"; Bump::Bump.run("patch")'
|
2016-04-15 01:05:34 +03:00
|
|
|
make build # rebuild after version increment
|
2016-04-15 01:09:44 +03:00
|
|
|
git tag `ruby scripts/version.rb`
|
2016-04-15 01:05:34 +03:00
|
|
|
git push
|
|
|
|
git push --tags
|
2016-04-15 01:09:44 +03:00
|
|
|
gem push lightstep-tracer-`ruby scripts/version.rb`.gem
|