From 8f6052359f1dcbad0e8e4bc5cd149911b2224647 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 15 Nov 2019 16:58:27 -0800 Subject: Don't ship the extra rake tasks in the gem We only need the rspec task which gets run from within the gem artifact in the test phase. Skips all the other stuff. Signed-off-by: Tim Smith --- Rakefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 818ac251bb..643d70015b 100644 --- a/Rakefile +++ b/Rakefile @@ -17,10 +17,14 @@ # limitations under the License. # -require_relative "tasks/rspec" -require_relative "tasks/dependencies" -require_relative "tasks/announce" -require_relative "tasks/docs" +begin + require_relative "tasks/rspec" + require_relative "tasks/dependencies" + require_relative "tasks/announce" + require_relative "tasks/docs" +rescue LoadError => e + puts "Skipping missing rake dep: #{e}" +end ENV["CHEF_LICENSE"] = "accept-no-persist" -- cgit v1.2.1