Fix sync script for YARP
This commit is contained in:
parent
b2d1c720ec
commit
aea7e91828
Notes:
git
2023-08-25 22:21:13 +00:00
@ -405,7 +405,7 @@ module SyncDefaultGems
|
|||||||
# Run the YARP templating scripts
|
# Run the YARP templating scripts
|
||||||
cp_r("#{upstream}/ext/yarp", "yarp")
|
cp_r("#{upstream}/ext/yarp", "yarp")
|
||||||
cp_r("#{upstream}/lib/.", "lib")
|
cp_r("#{upstream}/lib/.", "lib")
|
||||||
cp_r("#{upstream}/test", "test/yarp")
|
cp_r("#{upstream}/test/yarp", "test")
|
||||||
cp_r("#{upstream}/src/.", "yarp")
|
cp_r("#{upstream}/src/.", "yarp")
|
||||||
|
|
||||||
cp_r("#{upstream}/yarp.gemspec", "lib/yarp")
|
cp_r("#{upstream}/yarp.gemspec", "lib/yarp")
|
||||||
@ -415,10 +415,7 @@ module SyncDefaultGems
|
|||||||
cp_r("#{upstream}/config.yml", "yarp/")
|
cp_r("#{upstream}/config.yml", "yarp/")
|
||||||
cp_r("#{upstream}/templates", "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")
|
rm("yarp/extconf.rb")
|
||||||
|
|
||||||
mv("yarp_init.c", "yarp/")
|
mv("yarp_init.c", "yarp/")
|
||||||
else
|
else
|
||||||
sync_lib gem, upstream
|
sync_lib gem, upstream
|
||||||
|
Loading…
x
Reference in New Issue
Block a user