mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
I *think* this will fix habitat.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
7e258f8944
commit
beda815524
2 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,7 @@ function Invoke-Install {
|
|||
try {
|
||||
Push-Location $pkg_prefix
|
||||
bundle config --local gemfile $project_root/Gemfile
|
||||
foreach($gem in ("inspec-bin", "inspec")) {
|
||||
foreach($gem in ("inspec-bin", "inspec-core", "inspec")) {
|
||||
Write-BuildLine "** generating binstubs for $gem with precise version pins"
|
||||
Invoke-Expression -Command "appbundler.bat $project_root $pkg_prefix/bin $gem"
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@ do_unpack() {
|
|||
do_build() {
|
||||
pushd "$HAB_CACHE_SRC_PATH/$pkg_dirname/"
|
||||
gem build inspec.gemspec
|
||||
gem build inspec-core.gemspec
|
||||
popd
|
||||
pushd "$HAB_CACHE_SRC_PATH/$pkg_dirname/inspec-bin"
|
||||
gem build inspec-bin.gemspec
|
||||
|
|
Loading…
Reference in a new issue