diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-06 09:55:43 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-06 09:57:10 -0700 |
commit | 0f8747beafa62b96ae9597fc7d4dbe189f29e0cf (patch) | |
tree | b0169cadab11eceec61b66be969c95d3eab81481 | |
parent | d8641b31bc0c557e10ce4e1dd0856fb61bb3efd5 (diff) | |
download | chef-0f8747beafa62b96ae9597fc7d4dbe189f29e0cf.tar.gz |
add local install task
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | Rakefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |