mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-31 21:22:58 +08:00
update script
This commit is contained in:
parent
815c74df00
commit
911cc9528d
@ -1 +1,15 @@
|
||||
Get-ChildItem BasicComponent
|
||||
$cur= Get-Location
|
||||
$ver="1.0"
|
||||
if (Test-Path qmldir) {
|
||||
Clear-Content qmldir
|
||||
}
|
||||
Get-ChildItem -Recurse BasicComponent | ForEach-Object -Process {
|
||||
if ($_ -is [System.IO.FileInfo]) {
|
||||
$filePath = Resolve-Path -Relative $_.Directory
|
||||
$filePath = $filePath.Remove(0, 2)
|
||||
$filePath = $filePath + "\" + $_.Name
|
||||
$filePath=$filePath.Replace('\', '/')
|
||||
$line = ($_.BaseName, $ver, $filePath) -join " "
|
||||
$line | Out-File -Append -Encoding "utf8" qmldir
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
TGradientBtn 1.0 BasicComponent/Button/TGradientBtn.qml
|
||||
TGradientBtn 1.0 BasicComponent/Button/TGradientBtn.qml
|
||||
TImageBtn 1.0 BasicComponent/Button/TImageBtn.qml
|
||||
TImgTextBtn 1.0 BasicComponent/Button/TImgTextBtn.qml
|
||||
TTextBtn 1.0 BasicComponent/Button/TTextBtn.qml
|
||||
|
Loading…
x
Reference in New Issue
Block a user