2016-04-19 02:02:33 +03:00
|
|
|
.PHONY: build test benchmark publish
|
2016-04-14 23:38:41 +03:00
|
|
|
|
|
|
|
build:
|
2016-11-01 17:38:34 +03:00
|
|
|
gem build lightstep.gemspec
|
2016-04-14 23:38:41 +03:00
|
|
|
|
|
|
|
test:
|
2016-11-01 07:38:39 +03:00
|
|
|
bundle exec rake spec
|
2016-04-16 00:14:19 +03:00
|
|
|
ruby example.rb
|
2016-06-11 02:46:46 +03:00
|
|
|
ruby examples/fork_children/main.rb
|
2016-11-10 18:28:41 +03:00
|
|
|
ruby examples/rack/inject_extract.rb
|
2016-04-14 23:38:41 +03:00
|
|
|
|
2016-04-19 02:02:33 +03:00
|
|
|
benchmark:
|
|
|
|
ruby benchmark/bench.rb
|
2016-04-25 21:55:07 +03:00
|
|
|
ruby benchmark/threading/thread_test.rb
|
2016-04-19 02:02:33 +03:00
|
|
|
|
2016-11-01 17:38:34 +03:00
|
|
|
bump-version:
|
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-11-01 17:38:34 +03:00
|
|
|
|
|
|
|
publish: build test benchmark bump-version
|
|
|
|
gem push lightstep-`ruby scripts/version.rb`.gem
|