@@ -82,19 +82,19 @@ tasks:
82
82
status :
83
83
- ' [ -f "C:\Program Files\Betwixt\Betwixt.exe" ]'
84
84
85
- bitwarden :
86
- cmds :
87
- - task : bw:{{OS}}
88
- status :
89
- - ' [ -f /usr/local/bin/bw ]'
90
-
91
85
bivac :
92
86
cmds :
93
87
- task : install:gh
94
88
vars :
95
89
BIN_NAME : bivac
96
90
PACKAGE : camptocamp/bivac
97
91
92
+ bitwarden :
93
+ cmds :
94
+ - task : bw:{{OS}}
95
+ status :
96
+ - ' [ -f /usr/local/bin/bw ]'
97
+
98
98
bw:darwin :
99
99
cmds :
100
100
- gh release download -R bitwarden/cli -p "bw-macos*.zip"
@@ -170,9 +170,9 @@ tasks:
170
170
vars :
171
171
BIN_NAME : dat
172
172
PACKAGE : dat-ecosystem-archive/dat
173
+ ZIP_OPTIONS : ' -j'
173
174
TAR_OPTIONS : ' --strip-components 1'
174
175
175
- ZIP_OPTIONS : ' -j'
176
176
delta :
177
177
cmds :
178
178
- task : install:gh
@@ -181,6 +181,13 @@ tasks:
181
181
PACKAGE : dandavison/delta
182
182
TAR_OPTIONS : ' --strip-components 1'
183
183
184
+ dog :
185
+ cmds :
186
+ - task : install:gh
187
+ vars :
188
+ BIN_NAME : dog
189
+ PACKAGE : ogham/dog
190
+
184
191
deno :
185
192
cmds :
186
193
- task : install:gh
@@ -230,13 +237,6 @@ tasks:
230
237
BIN_NAME : doctl
231
238
PACKAGE : digitalocean/doctl
232
239
233
- dog :
234
- cmds :
235
- - task : install:gh
236
- vars :
237
- BIN_NAME : dog
238
- PACKAGE : ogham/dog
239
-
240
240
duf :
241
241
cmds :
242
242
- task : install:gh
@@ -325,9 +325,9 @@ tasks:
325
325
- task : install:gh
326
326
vars :
327
327
BIN_NAME : Ganache
328
- EXE_PATTERN : ' -p *setup.exe'
329
-
330
328
PACKAGE : trufflesuite/ganache-ui
329
+ EXE_PATTERN : " -p *setup.exe"
330
+
331
331
gh :
332
332
cmds :
333
333
- task : install:gh
@@ -359,9 +359,9 @@ tasks:
359
359
- task : install:gh
360
360
vars :
361
361
BIN_NAME : gitify
362
- EXE_PATTERN : ' -p *Setup*.exe'
363
-
364
362
PACKAGE : manosim/gitify
363
+ EXE_PATTERN : " -p *Setup*.exe"
364
+
365
365
gitleaks :
366
366
cmds :
367
367
- task : install:gh
@@ -416,14 +416,16 @@ tasks:
416
416
status :
417
417
- ' [ -f C:/ProgramData/bin/hey.exe ]'
418
418
419
- install:appimage :
419
+ install:gh :
420
+ deps :
421
+ - :install:software:gh
420
422
cmds :
421
- - gh release download -R '{{.PACKAGE}}' -p "*.AppImage"
422
- - mv *.AppImage /opt/{{.DEST_APPIMAGE_NAME}}.AppImage
423
- - chmod +x /opt/ {{.DEST_APPIMAGE_NAME}}.AppImage
424
- - ln -s /opt/{{.DEST_APPIMAGE_NAME}}.AppImage /usr/local/bin/ {{.DEST_APPIMAGE_NAME}}
425
- status :
426
- - ' [ -f /opt/ {{.DEST_APPIMAGE_NAME}}.AppImage ] '
423
+ - task : install:gh:{{OS}}
424
+ vars :
425
+ BIN_NAME : ' {{.BIN_NAME}} '
426
+ PACKAGE : ' {{.PACKAGE}} '
427
+ TAR_OPTIONS : ' {{.TAR_OPTIONS}} '
428
+ ZIP_OPTIONS : ' {{.ZIP_OPTIONS}} '
427
429
428
430
install:dmg :
429
431
vars :
@@ -452,16 +454,14 @@ tasks:
452
454
status :
453
455
- ' [ -f /Applications/{{.DMG_NAME}}.app ]'
454
456
455
- install:gh :
456
- deps :
457
- - :install:software:gh
457
+ install:appimage :
458
458
cmds :
459
- - task : install:gh:{{OS}}
460
- vars :
461
- BIN_NAME : ' {{.BIN_NAME}} '
462
- PACKAGE : ' {{.PACKAGE}} '
463
- TAR_OPTIONS : ' {{.TAR_OPTIONS}} '
464
- ZIP_OPTIONS : ' {{.ZIP_OPTIONS}} '
459
+ - gh release download -R '{{.PACKAGE}}' -p "*.AppImage"
460
+ - mv *.AppImage /opt/{{.DEST_APPIMAGE_NAME}}.AppImage
461
+ - chmod +x /opt/ {{.DEST_APPIMAGE_NAME}}.AppImage
462
+ - ln -s /opt/{{.DEST_APPIMAGE_NAME}}.AppImage /usr/local/bin/ {{.DEST_APPIMAGE_NAME}}
463
+ status :
464
+ - ' [ -f /opt/ {{.DEST_APPIMAGE_NAME}}.AppImage ] '
465
465
466
466
install:gh:darwin :
467
467
deps :
@@ -612,8 +612,7 @@ tasks:
612
612
- :install:software:gh
613
613
vars :
614
614
BIN_FOLDER : C:/ProgramData/bin
615
- PATTERNS :
616
- -p "*x86_64-windows.zip" -p "*Windows_64-bit.tar.gz" -p "*windows-amd64*.zip" -p "*windows_amd64.zip" -p "*windows_amd64.tar.gz" -p "*windows-amd64*"
615
+ PATTERNS : -p "*x86_64-windows.zip" -p "*Windows_64-bit.tar.gz" -p "*windows-amd64*.zip" -p "*windows_amd64.zip" -p "*windows_amd64.tar.gz" -p "*windows-amd64*"
617
616
-p "*win-x64.zip" -p "*Windows-64bit.zip" -p "*64*windows-msvc.zip" -p "*windows_x64.zip" -p "*Windows_x86_64.tar.gz" -p "*win-*.exe" -p "*setup*.exe" -p "*Setup*.exe"
618
617
-p "*installer*64*.exe"
619
618
env :
@@ -625,46 +624,46 @@ tasks:
625
624
$COUNT = 0;
626
625
$installer=$false;
627
626
Get-ChildItem -File | %{
628
- $FILE = $_.Name;
629
- $COUNT = $COUNT + 1;
630
- if($COUNT -eq 1 ){
631
- if (("$FILE" -like "*.tar.gz") -or ("$FILE" -like "*.zip")){
632
- tar -xzf "$FILE"{{.TAR_OPTIONS}};
633
- Remove-Item "$FILE" -Force;
634
- }elseif((! $installer) -and (("$FILE" -like "*setup*64*.exe") -or ("$FILE" -like "*setup*.exe") -or ("$FILE" -like "*installer*64*.exe") -or ("$FILE" -like "*64*installer*.exe"))){
635
- $installer=$true;
636
- Start-Process "$FILE" /S -NoNewWindow -Wait -PassThru;
637
- Remove-Item "$FILE" -Force;
638
- }
639
- }else{
640
- Write-Host 'Multiple releases have possibly been downloaded' -ForegroundColor Yellow;
641
- }
627
+ $FILE = $_.Name;
628
+ $COUNT = $COUNT + 1;
629
+ if($COUNT -eq 1 ){
630
+ if (("$FILE" -like "*.tar.gz") -or ("$FILE" -like "*.zip")){
631
+ tar -xzf "$FILE"{{.TAR_OPTIONS}};
632
+ Remove-Item "$FILE" -Force;
633
+ }elseif((! $installer) -and (("$FILE" -like "*setup*64*.exe") -or ("$FILE" -like "*setup*.exe") -or ("$FILE" -like "*installer*64*.exe") -or ("$FILE" -like "*64*installer*.exe"))){
634
+ $installer=$true;
635
+ Start-Process "$FILE" /S -NoNewWindow -Wait -PassThru;
636
+ Remove-Item "$FILE" -Force;
637
+ }
638
+ }else{
639
+ Write-Host 'Multiple releases have possibly been downloaded' -ForegroundColor Yellow;
640
+ }
642
641
};
643
642
Get-ChildItem;
644
643
Remove-Item "CHANGELOG.md", "LICENSE", "LICENSE*", "README.md", "autocomplete", "completion*", "*_autocomplete", "contrib", "Changes" -EA SilentlyContinue -Force;
645
644
mkdir {{.BIN_FOLDER}} -EA SilentlyContinue;
646
645
pwd;
647
646
if($installer){
648
- Write-Host '{{.BIN_NAME}} installed using the installer';
647
+ Write-Host '{{.BIN_NAME}} installed using the installer';
649
648
}elseif((Get-ChildItem -File | Measure).Count -eq 1){
650
- Write-Host 'Moving {{.BIN_NAME}} from its default location';
651
- Move-Item -Force * {{.BIN_FOLDER}}/{{.BIN_NAME}}.exe;
652
- }else{
653
- if(Test-Path .\bin){
654
- cd bin;
655
- if((Get-ChildItem -File | Measure).Count -eq 1){
656
- Write-Host 'Moving {{.BIN_NAME}} from the bin folder';
657
- Move-Item -Force * {{.BIN_FOLDER}}/{{.BIN_NAME}}.exe;
649
+ Write-Host 'Moving {{.BIN_NAME}} from its default location';
650
+ Move-Item -Force * {{.BIN_FOLDER}}/{{.BIN_NAME}}.exe;
658
651
}else{
659
- Write-Host 'Unmatched binary named {{.BIN_NAME}} from *.tar.gz with a bin folder' -ForegroundColor Yellow;
660
- }
661
- cd ..;
662
- }elseif((Get-ChildItem -File {{.BIN_NAME}}* -ea SilentlyContinue | Measure).Count -gt 0){
663
- Write-Host 'Moving {{.BIN_NAME}} from its default location, but, there are other files that are not moved' -ForeGroundColor Yellow;
664
- Move-Item -Force {{.BIN_NAME}}*.exe {{.BIN_FOLDER}}/;
665
- }else{
666
- Write-Host 'Unmatched binary named {{.BIN_NAME}}' -ForegroundColor Yellow;
667
- }
652
+ if(Test-Path .\bin){
653
+ cd bin;
654
+ if((Get-ChildItem -File | Measure).Count -eq 1){
655
+ Write-Host 'Moving {{.BIN_NAME}} from the bin folder';
656
+ Move-Item -Force * {{.BIN_FOLDER}}/{{.BIN_NAME}}.exe;
657
+ }else{
658
+ Write-Host 'Unmatched binary named {{.BIN_NAME}} from *.tar.gz with a bin folder' -ForegroundColor Yellow;
659
+ }
660
+ cd ..;
661
+ }elseif((Get-ChildItem -File {{.BIN_NAME}}* -ea SilentlyContinue | Measure).Count -gt 0){
662
+ Write-Host 'Moving {{.BIN_NAME}} from its default location, but, there are other files that are not moved' -ForeGroundColor Yellow;
663
+ Move-Item -Force {{.BIN_NAME}}*.exe {{.BIN_FOLDER}}/;
664
+ }else{
665
+ Write-Host 'Unmatched binary named {{.BIN_NAME}}' -ForegroundColor Yellow;
666
+ }
668
667
}'
669
668
status :
670
669
- ' [ -f {{.BIN_FOLDER}}/{{.BIN_NAME}}.exe ]'
@@ -816,9 +815,9 @@ tasks:
816
815
- task : install:gh
817
816
vars :
818
817
BIN_NAME : Manta
819
- EXE_PATTERN : ' *Setup*.exe'
820
-
821
818
PACKAGE : hql287/manta
819
+ EXE_PATTERN : " *Setup*.exe"
820
+
822
821
mark-text :
823
822
cmds :
824
823
- task : marktext:{{OS}}
@@ -863,9 +862,9 @@ tasks:
863
862
- task : install:gh
864
863
vars :
865
864
BIN_NAME : masscode
866
- EXE_PATTERN : ' *Setup*.exe'
867
-
868
865
PACKAGE : antonreshetov/masscode
866
+ EXE_PATTERN : " *Setup*.exe"
867
+
869
868
mergestat :
870
869
cmds :
871
870
- task : install:gh
@@ -910,9 +909,9 @@ tasks:
910
909
- task : install:gh
911
910
vars :
912
911
BIN_NAME : mqttx
913
- EXE_PATTERN : ' *Setup*x64.exe'
914
-
915
912
PACKAGE : agalwood/mqttx
913
+ EXE_PATTERN : " *Setup*x64.exe"
914
+
916
915
nebula :
917
916
cmds :
918
917
- task : install:gh
@@ -1019,9 +1018,9 @@ tasks:
1019
1018
- task : install:gh
1020
1019
vars :
1021
1020
BIN_NAME : raindrop
1022
- EXE_PATTERN : ' *Installer.exe'
1023
-
1024
1021
PACKAGE : raindropio/raindrop
1022
+ EXE_PATTERN : " *Installer.exe"
1023
+
1025
1024
responsively :
1026
1025
cmds :
1027
1026
- task : responsively:{{OS}}
0 commit comments