lightstep-tracer-ruby/Makefile

29 строки
775 B
Makefile
Исходник Обычный вид История

.PHONY: build test benchmark publish
2016-04-14 23:38:41 +03:00
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
benchmark:
ruby benchmark/bench.rb
2016-04-25 21:55:07 +03:00
ruby benchmark/threading/thread_test.rb
publish: build test benchmark
2016-04-16 00:22:12 +03:00
ruby -e 'require "bump"; Bump::Bump.run("patch")'
make build # rebuild after version increment
git tag `ruby scripts/version.rb`
git push
git push --tags
gem push lightstep-tracer-`ruby scripts/version.rb`.gem
# An internal LightStep target for regenerating the thrift protocol files
.PHONY: thrift
thrift:
thrift -r -gen rb -out lib/lightstep/tracer/thrift $(LIGHTSTEP_HOME)/go/src/crouton/crouton.thrift
rm lib/lightstep/tracer/thrift/reporting_service.rb
rm lib/lightstep/tracer/thrift/crouton_constants.rb
2016-04-22 01:11:50 +03:00
ruby scripts/patch_thrift.rb