Info
Version: | 1.14.0 |
Author(s): | github.com/3F/SobaScript.Z.Ext |
Last Update: | Monday, September 23, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/3F/SobaScript.Z.Ext |
NuGet Url: | https://www.nuget.org/packages/SobaScript.Z.Ext |
Install
Install-Package SobaScript.Z.Ext
dotnet add package SobaScript.Z.Ext
paket add SobaScript.Z.Ext
SobaScript.Z.Ext Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 4.0
- SobaScript.Mapper(>= 1.14.0)
- SobaScript(>= 1.14.0)
- SobaScript.Mapper(>= 1.14.0)
- SobaScript(>= 1.14.0)
Tags
https://github.com/3F/SobaScript
Provides at least the following:
* SevenZipComponent
```
#[7z pack.files({"IntelOCL.log", "IntelChipset.log"}, "ilog.7z")]
#[7z pack.files({"IntelAMT.log"}, "P:\s01\log.xml"}, "D:\output.zip", Zip, Deflate, 2)]
#[7z pack.files(
{
"bin\gpp.exe",
"bin\lib\*.dll"
},
"gpp.7z",
{"bin\lib\stub.dll"},
SevenZip, Lzma2, 4
)]
```
```
#[7z pack.directory("bin", "release.zip")]
#[7z pack.directory("D:\log", "log.7z", SevenZip, Lzma2, 4)]
```
```
#[( !#[7z check("arch.tar.xz")] ){
#[Build cancel = true]
}]
#[var arch = #[7z check("arch.tar.xz", "pass-123")]]
```
```
#[7z unpack("release.7z", true)]
#[7z unpack("xscale.zip", "D:\app\xscale", false, "pass-123")]
```
* NuGetComponent
Through [GetNuTool](https://github.com/3F/GetNuTool).
```
#[NuGet gnt.raw("/p:ngpackages=\"7z.Libs/19.0.1;vsSBE.CI.MSBuild/1.6.12011:../packages/CI.MSBuild\"")]
#[NuGet gnt.raw("/t:pack /p:ngin=\"D:\tmp\7z.Libs\" /p:ngout=\"newdir/\"")]
```
* FileComponent
I/O local and remote operations.
```
#[File replace.Regex("file.log", "(\d+)", "~@1~")]
#[( #[IO exists.directory("D:\tmp\log")] ){
...
}]
```
```
#[IO copy.file("bin\release.7z", "dep\release.7z", true)]
#[IO copy.file("D:\inc\*.h", "inc/", false, {"ui.core.h", "http.h"})]
#[File appendLine("in.log"): mixed data]
```
```
#[IO copy.file({
"bin\client.zip",
"bin\server\*.*"
},
"\beta",
true,
{
"*debug*",
"*.pdb"
})]
```
```
#[IO copy.directory("bin", "dep/mixed", true)]
#[IO remote.download("ftp://192.168.17.04:2021/dir1/non-api.png", "non-api.png", "usr", "pwd")]
#[IO remote.download("http://example.com", "example.com.html")]
```
...
https://github.com/3F/SobaScript.Z.Ext
=======================================
gnt /p:ngpackages="SobaScript.Z.Ext/1.14.0"
================== https://github.com/3F/GetNuTool
Build info:
S_NUM: 1.14.0
S_REV: 22397
S_NUM_REV: 1.14.0.22397
bSha1: c3aa097
bName: master
bRevc: 8
Configuration: RCI_SDK15
revDeltaBase: 2019/09/09
revDeltaMin: 1000
revDeltaMax: 65534
:: generated by a vsSolutionBuildEvent v0.12.11.39273.