Skip to content

Commit 878c7d5

Browse files
committed
create_mswin_pkg.rb - remove tracked files from archive
1 parent 9340647 commit 878c7d5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

create_mswin_pkg.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class << self
1313
include Common
1414

1515
PACKAGES = 'libffi libyaml openssl readline zlib'
16-
PKG_DEPENDS = 'vcpkg-cmake vcpkg-cmake-config'
16+
PKG_DEPENDS = 'vcpkg-cmake vcpkg-cmake-config vcpkg-cmake-get-vars'
1717

1818
PKG_NAME = 'mswin'
1919

@@ -76,6 +76,11 @@ def generate_package_files
7676
"./vcpkg export --triplet=x64-windows #{PACKAGES} --raw --output=#{PKG_NAME} --output-dir=#{EXPORT_DIR}"
7777
end
7878

79+
# remove tracked files
80+
Dir.chdir "#{EXPORT_DIR}/#{PKG_NAME}" do
81+
FileUtils.remove_dir 'scripts', true
82+
end
83+
7984
vcpkg_u = VCPKG.gsub "\\", '/'
8085

8186
# vcpkg/installed/status contains a list of installed packages

0 commit comments

Comments
 (0)