chore, ci: add webext, jslib to taskfile
This commit is contained in:
parent
95efedb00f
commit
3fd29a962e
1 changed files with 25 additions and 1 deletions
26
Taskfile.yml
26
Taskfile.yml
|
@ -51,7 +51,7 @@ tasks:
|
||||||
- cargo nextest run --workspace
|
- cargo nextest run --workspace
|
||||||
|
|
||||||
build:
|
build:
|
||||||
deps: [build:frontend, build:backend]
|
deps: [build:frontend, build:backend, build:webext]
|
||||||
|
|
||||||
build:backend:
|
build:backend:
|
||||||
dir: cli
|
dir: cli
|
||||||
|
@ -88,6 +88,30 @@ tasks:
|
||||||
- yarn add ../tools/upend_js
|
- yarn add ../tools/upend_js
|
||||||
- yarn install --immutable
|
- yarn install --immutable
|
||||||
|
|
||||||
|
build:webext:
|
||||||
|
deps: [setup:webext, build:jslib]
|
||||||
|
dir: webext
|
||||||
|
sources:
|
||||||
|
- ./**/*.ts
|
||||||
|
- ./**/*.svelte
|
||||||
|
cmds:
|
||||||
|
- yarn build
|
||||||
|
|
||||||
|
setup:webext:
|
||||||
|
dir: webext
|
||||||
|
sources:
|
||||||
|
- ../tools/upend_js/*.js
|
||||||
|
- package.lock
|
||||||
|
cmds:
|
||||||
|
- yarn add ../tools/upend_js
|
||||||
|
- yarn install --immutable
|
||||||
|
|
||||||
|
dev:update_tool_deps:
|
||||||
|
cmds:
|
||||||
|
- task: build:jslib
|
||||||
|
- cd webui && yarn add ../tools/upend_js && cd ..
|
||||||
|
- cd webext && yarn add ../tools/upend_js && cd ..
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
deps: [dev:backend, dev:frontend]
|
deps: [dev:backend, dev:frontend]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue