mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
* consolidate deserializers * key value list doc * use string list deserializers for all entity Vec<String> * add additional env files support * plumbing for Action resource * js client readme indentation * regen lock * add action UI * action backend * start on action frontend * update lock * get up to speed * get action started * clean up default action file * seems to work * toml export include action * action works * action works part 2 * bump rust version to 1.82.0 * copy deno bin from bin image * action use local dir * update not having changes doesn't return error * format with prettier * support yaml formatting with prettier * variable no change is Ok
50 lines
1.3 KiB
TOML
50 lines
1.3 KiB
TOML
[start-frontend]
|
|
path = "frontend"
|
|
cmd = "yarn dev"
|
|
|
|
[gen-client]
|
|
description = "generates typescript types and build the ts client"
|
|
cmd = """
|
|
node ./client/core/ts/generate_types.mjs && \
|
|
cd ./client/core/ts && yarn build && \
|
|
cp -r dist/. ../../../frontend/public/client/."""
|
|
|
|
[build-frontend]
|
|
path = "frontend"
|
|
cmd = "yarn build"
|
|
after = "gen-client"
|
|
|
|
[publish-typescript]
|
|
path = "client/core/ts"
|
|
cmd = "npm publish"
|
|
|
|
[test-compose]
|
|
description = "deploys test.compose.yaml"
|
|
cmd = """
|
|
docker compose -p komodo-dev -f test.compose.yaml down --remove-orphans && \
|
|
docker compose -p komodo-dev -f test.compose.yaml up -d"""
|
|
|
|
[test-compose-build]
|
|
description = "builds and deploys test.compose.yaml"
|
|
cmd = """
|
|
docker compose -p komodo-dev -f test.compose.yaml build"""
|
|
|
|
[test-core]
|
|
description = "runs core --release pointing to test.core.config.toml"
|
|
cmd = "KOMODO_CONFIG_PATH=test.core.config.toml cargo run -p komodo_core --release"
|
|
|
|
[test-periphery]
|
|
description = "runs periphery --release pointing to test.periphery.config.toml"
|
|
cmd = "PERIPHERY_CONFIG_PATH=test.periphery.config.toml cargo run -p komodo_periphery --release"
|
|
|
|
[docsite-start]
|
|
path = "docsite"
|
|
cmd = "yarn start"
|
|
|
|
[docsite-deploy]
|
|
path = "docsite"
|
|
cmd = "yarn deploy"
|
|
|
|
# [rustdoc-server]
|
|
# cmd = "cargo watch -s 'cargo doc --no-deps -p komodo_client' & http --quiet target/doc"
|