File tree Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change 2525
2626spec = Bundler . load_gemspec ( 'pyroscope.gemspec' )
2727
28- # add your default gem packing task
29- Gem ::PackageTask . new ( spec ) do |pkg |
28+ namespace :source do
29+ Gem ::PackageTask . new ( spec ) do |pkg |
30+ end
31+ end
32+
33+ namespace :x86_64_darwin do
34+ spec . platform = 'x86_64-darwin'
35+ spec . files += [ 'lib/rbspy/rbspy.bundle' , 'lib/thread_id/thread_id.bundle' ]
36+
37+ Gem ::PackageTask . new ( spec ) do |pkg |
38+ end
39+ end
40+
41+ namespace :arm64_darwin do
42+ spec . platform = 'arm64-darwin'
43+ spec . files += [ 'lib/rbspy/rbspy.bundle' , 'lib/thread_id/thread_id.bundle' ]
44+
45+ Gem ::PackageTask . new ( spec ) do |pkg |
46+ end
47+ end
48+
49+ namespace :x86_64_linux do
50+ spec . platform = 'x86_64-linux'
51+ spec . files += [ 'lib/rbspy/rbspy.bundle' , 'lib/thread_id/thread_id.bundle' ]
52+
53+ Gem ::PackageTask . new ( spec ) do |pkg |
54+ end
55+ end
56+
57+ namespace :aarch64_linux do
58+ spec . platform = 'aarch64-linux'
59+ spec . files += [ 'lib/rbspy/rbspy.bundle' , 'lib/thread_id/thread_id.bundle' ]
60+
61+ Gem ::PackageTask . new ( spec ) do |pkg |
62+ end
3063end
You can’t perform that action at this time.
0 commit comments