chore: add auto pack nupkg file script.
This commit is contained in:
1 parent
cb6628180a
commit
894321e0e3
4 files changed
+7
-1
No files matched your search
@@ -7,7 +7,9 @@ packages/
|
|||||||
build/*
|
build/*
|
||||||
!build/build.cake
|
!build/build.cake
|
||||||
!build/build*.nuspec
|
!build/build*.nuspec
|
||||||
|
!build/build.Lang.template
|
||||||
!build/create_lang_nuspec_file.py
|
!build/create_lang_nuspec_file.py
|
||||||
|
!build/create_nupkg_file.ps1
|
||||||
!build/build.ps1
|
!build/build.ps1
|
||||||
!build/LICENSE
|
!build/LICENSE
|
||||||
!build/icon.png
|
!build/icon.png
|
||||||
|
|||||||
File renamed without changes.
@@ -2,7 +2,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
with open('build.Lang.template.nuspec', 'r', encoding='utf-8') as template_file:
|
with open('build.Lang.template', 'r', encoding='utf-8') as template_file:
|
||||||
template_content = template_file.read()
|
template_content = template_file.read()
|
||||||
|
|
||||||
resx_file_folder = Path('../src/Shared/HandyControl_Shared/Properties/Langs')
|
resx_file_folder = Path('../src/Shared/HandyControl_Shared/Properties/Langs')
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
./tools/nuget pack build.nuspec -Symbols -SymbolPackageFormat snupkg
|
||||||
|
Get-ChildItem -Path ./build.Lang.*.nuspec | ForEach-Object {
|
||||||
|
./tools/nuget pack $_
|
||||||
|
}
|
||||||
Reference in new issue
Block a user