Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 878c7d5

Browse filesBrowse files
committed
create_mswin_pkg.rb - remove tracked files from archive
1 parent 9340647 commit 878c7d5
Copy full SHA for 878c7d5

File tree

Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed

‎create_mswin_pkg.rb

Copy file name to clipboardExpand all lines: create_mswin_pkg.rb
+6-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.