mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Build inspec-bin gem too
Signed-off-by: Jaymala Sinha <jsinha@chef.io>
This commit is contained in:
parent
2938d12be7
commit
2a4f3a168d
1 changed files with 8 additions and 1 deletions
|
@ -43,5 +43,12 @@ build do
|
|||
gem "build #{name}.gemspec", env: env
|
||||
gem "install #{name}-*.gem --no-document", env: env
|
||||
|
||||
appbundle 'inspec', env: env
|
||||
gem "build inspec-bin.gemspec", env: env, cwd: "#{project_dir}/inspec-bin"
|
||||
gem "install inspec-bin-*.gem --no-document", env: env, cwd: "#{project_dir}/inspec-bin"
|
||||
|
||||
if Dir.exist?("#{project_dir}/inspec-bin")
|
||||
appbundle "inspec", lockdir: project_dir, gem: "inspec-bin", env: env
|
||||
else
|
||||
appbundle "inspec", env: env
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue