From f4b6c24c10a33ee1f3fa3d36f7249cfe0a41ae6e Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 18 Jul 2023 15:24:24 -0400 Subject: [PATCH] Fix up the gemspec and the manifest check - ignore lib/yarp.bundle - :check_manifest task is a dependency of :test - remove yp_snprintf.c from the gemspec (see 4793b1ce / #962) --- tasks/check_manifest.rake | 4 +++- yarp.gemspec | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/check_manifest.rake b/tasks/check_manifest.rake index b871bd1005a..5aea4751690 100644 --- a/tasks/check_manifest.rake +++ b/tasks/check_manifest.rake @@ -36,7 +36,7 @@ task :check_manifest => [:templates, "configure"] do java/org/yarp/Loader.java java/org/yarp/Nodes.java java/org/yarp/Parser.java - lib/yarp.{jar,so} + lib/yarp.{jar,so,bundle} ] intended_directories = Dir.children(".") @@ -64,3 +64,5 @@ task :check_manifest => [:templates, "configure"] do puts "☑ manifest looks good" end + +task test: :check_manifest diff --git a/yarp.gemspec b/yarp.gemspec index 2fccd20e23d..c80d37b4f95 100644 --- a/yarp.gemspec +++ b/yarp.gemspec @@ -101,7 +101,6 @@ Gem::Specification.new do |spec| "src/util/yp_list.c", "src/util/yp_memchr.c", "src/util/yp_newline_list.c", - "src/util/yp_snprintf.c", "src/util/yp_state_stack.c", "src/util/yp_string.c", "src/util/yp_string_list.c",