Skip to content

Commit fb036bc

Browse files
authored
Tidy up tasks' usage of label field (#1904)
* Remove low-value labels or change to desc where appropriate * Prefix labels with import name so tooling isn't confused
1 parent 8763048 commit fb036bc

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

backend/FwLite/Taskfile.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ tasks:
1010
web:
1111
aliases:
1212
- web-for-develop
13-
label: Run FwLiteWeb with Local LexBox, requires vite dev server to be running, use task fw-lite-web in root
13+
desc: Run FwLiteWeb with Local LexBox, requires vite dev server to be running, use task fw-lite-web in root
1414
dir: ./FwLiteWeb
1515
cmd: dotnet watch --no-hot-reload
1616
web-prod:
1717
deps: [ ui:build-viewer ]
1818
dir: ./FwLiteWeb
1919
cmd: dotnet run -- --FwLite:UseDevAssets=false
2020
web-chaos:
21-
label: Run FwLiteWeb with some Chaos injected to http requests to lexbox, requests will have chaos 30% of the time, this includes some latency of 5 seconds
21+
desc: Run FwLiteWeb with some Chaos injected to http requests to lexbox, requests will have chaos 30% of the time, this includes some latency of 5 seconds
2222
dir: ./FwLiteWeb
2323
env:
2424
FW_LITE_CHAOS: true
@@ -28,7 +28,6 @@ tasks:
2828
cmd: dotnet tool restore
2929
add-migration:
3030
deps: [ tool-restore ]
31-
label: Add Migration
3231
desc: 'Usage: task add-migration -- "MigrationName"'
3332
dir: ./LcmCrdt
3433
cmd: dotnet ef migrations add {{.CLI_ARGS}}
@@ -47,25 +46,22 @@ tasks:
4746
- dotnet ef migrations remove
4847

4948
maui-windows:
50-
label: Run Maui Windows, requires vite dev server to be running, use task fw-lite-win in root
49+
desc: Run Maui Windows, requires vite dev server to be running, use task fw-lite-win in root
5150
dir: ./FwLiteMaui
5251
cmd: dotnet run -f net9.0-windows10.0.19041.0
5352

5453
publish-maui-windows:
55-
label: Publish Maui Windows
5654
dir: ./FwLiteMaui
5755
cmds:
5856
- dotnet publish -f net9.0-windows10.0.19041.0 --artifacts-path ../artifacts -p:WindowsPackageType=None
5957
- dotnet publish -f net9.0-windows10.0.19041.0 --artifacts-path ../artifacts
6058

6159
build-maui-android:
6260
deps: [ ui:build-viewer ]
63-
label: Build Maui Android
6461
dir: ./FwLiteMaui
6562
cmd: dotnet build -f net9.0-android -t:InstallAndroidDependencies -p:AcceptAndroidSdkLicenses=True # "-p:AndroidSdkDirectory=D:\tools\android"
6663

6764
build-mini-lcm-sdk:
68-
label: Build MiniLcm SDK
6965
desc: Builds the sdk, a zip with the FwLiteWeb server with a project and config to run locally
7066
dir: ./FwLiteWeb
7167
deps: [ ui:build-viewer ]

frontend/Taskfile.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ tasks:
7272

7373
build-viewer:
7474
deps: [viewer:build]
75-
label: vite
75+
label: ui:vite viewer build
7676
watch-viewer:
7777
deps: [viewer:watch]
78-
label: vite
78+
label: ui:vite viewer watch
7979
viewer-dev:
8080
deps: [viewer:app]
81-
label: vite
81+
label: ui:vite viewer app
8282

8383
install-https-proxy:
8484
dir: ./https-proxy

0 commit comments

Comments
 (0)