forked from hyperstack-org/hyperstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
27 lines (27 loc) · 694 Bytes
/
Rakefile
File metadata and controls
27 lines (27 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require './ruby/version'
desc 'Publish hyperstack gems to private dir'
task :publish do
base_path = ENV['PWD']
sh "gem", "install", "geminabox"
# hyper-console
%w{
hyper-component
hyper-i18n
hyper-model
hyper-operation
hyper-router
hyper-spec
hyper-state
hyper-store
hyper-trace
hyperstack-config
rails-hyperstack
}.each do|gem|
puts "Publishing #{gem} gem"
Dir.chdir("#{base_path}/ruby/#{gem}") do
#sh ['bundle', 'update']
sh 'gem' ,'build', "#{gem}.gemspec"
sh 'gem' ,'inabox' ,"#{gem}-#{Hyperstack::VERSION.tr("'",'')}.gem" ,'-g' ,"https://michail:#{ENV['GEM_SERVER_KEY']}@gems.ru.aegean.gr"
end
end
end