From 2aab45dd326960fb58deba5450ebd9051d3a7f88 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 10 May 2021 19:34:50 -0700 Subject: [PATCH] Use a more commonly used directory name --- .gitmodules | 4 ++-- mrbgem.rake | 4 ++-- {third_party => vendor}/libyaml | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename {third_party => vendor}/libyaml (100%) diff --git a/.gitmodules b/.gitmodules index e19f35d..059175d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "third_party/libyaml"] - path = third_party/libyaml +[submodule "vendor/libyaml"] + path = vendor/libyaml url = https://github.com/yaml/libyaml.git diff --git a/mrbgem.rake b/mrbgem.rake index 9033520..91ab8f5 100644 --- a/mrbgem.rake +++ b/mrbgem.rake @@ -31,11 +31,11 @@ MRuby::Gem::Specification.new('mruby-yaml') do |spec| # But first, we generate the configure script. This requires GNU # autoconf to be installed. - Dir.chdir(File.join(spec.dir, 'third_party', yaml_base_dir)) { + Dir.chdir(File.join(spec.dir, 'vendor', yaml_base_dir)) { run_command({}, "./bootstrap") } - FileUtils.cp_r File.join(spec.dir, 'third_party', yaml_base_dir), build_dir + FileUtils.cp_r File.join(spec.dir, 'vendor', yaml_base_dir), build_dir end if ! File.exists? "#{yaml_dir}/build/lib/libyaml.a" diff --git a/third_party/libyaml b/vendor/libyaml similarity index 100% rename from third_party/libyaml rename to vendor/libyaml