summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-04-06 09:55:43 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-04-06 09:57:10 -0700
commit0f8747beafa62b96ae9597fc7d4dbe189f29e0cf (patch)
treeb0169cadab11eceec61b66be969c95d3eab81481
parentd8641b31bc0c557e10ce4e1dd0856fb61bb3efd5 (diff)
downloadchef-0f8747beafa62b96ae9597fc7d4dbe189f29e0cf.tar.gz
add local install task
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 14fdb8cef2..707aa6bdcf 100644
--- a/Rakefile
+++ b/Rakefile
@@ -65,6 +65,17 @@ task :install do
end
end
+namespace :install do
+ task local: "pre_install:all"
+
+ task :local do
+ chef_bin_path = ::File.join(::File.dirname(__FILE__), "chef-bin")
+ Dir.chdir(chef_bin_path) do
+ sh("rake install:local")
+ end
+ end
+end
+
task :pedant, :chef_zero_spec
task :build_eventlog do