summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-04-29 15:10:36 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-04-29 15:10:36 -0700
commit688b72f47b4c3a23ca042336ea6c5d1f215ec263 (patch)
treeafd7cea189a44758edae6b711be81d7e7f2d31d2 /Rakefile
parent945b9f6636bb3236999ca43f313113bf74045d82 (diff)
downloadchef-688b72f47b4c3a23ca042336ea6c5d1f215ec263.tar.gz
Remove chef-* binstubs from chef gem
This is for the relicensing effort. Note that this PR leaves the knife and ohai binstubs still in the gem(s) while that discussion is still ongoing. This PR extracts the binstubs to chef-binstubs gem which is not intended to be redistributed outside of the omnibus chef binaries. A blank gem for chef-binstubs has been pushed to rubygems.org for obvious security concerns and so that bundler/rubygems can resolve the gem Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index e0aac6170f..d9c3c397da 100644
--- a/Rakefile
+++ b/Rakefile
@@ -34,6 +34,13 @@ task install: :super_install
gemspec = Gem.win_platform? ? "chef-universal-mingw32" : "chef"
Bundler::GemHelper.install_tasks name: gemspec
+# this gets appended to the normal bundler install helper
+task :install do
+ chef_bin_path = ::File.join(::File.dirname(__FILE__), "chef-bin")
+ Dir.chdir(chef_bin_path)
+ sh("rake install:force")
+end
+
task :pedant, :chef_zero_spec
task :build_eventlog do