summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/sync_default_gems.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index fb768c7a41..97bcfd2cdf 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -403,7 +403,6 @@ module SyncDefaultGems
rm_rf(%w[test/yarp yarp])
# Run the YARP templating scripts
- system("ruby #{upstream}/templates/template.rb")
cp_r("#{upstream}/ext/yarp", "yarp")
cp_r("#{upstream}/lib/.", "lib")
cp_r("#{upstream}/test", "test/yarp")
@@ -420,6 +419,9 @@ module SyncDefaultGems
cp_r("#{upstream}/include/yarp/.", "yarp")
cp_r("#{upstream}/include/yarp.h", "yarp")
+ cp_r("#{upstream}/config.yml", "yarp/")
+ cp_r("#{upstream}/templates", "yarp/")
+
rm_f("yarp/config.h")
File.write("yarp/config.h", "#include \"ruby/config.h\"\n")
rm("yarp/extconf.rb")
@@ -456,7 +458,6 @@ module SyncDefaultGems
|configure\.ac
|rakelib\/.*
|rust\/.*
- |templates\/.*
|test\/lib\/.*
|tasks\/.*
|ext\/yarp\/extconf\.rb