mirror of
https://github.com/trailbaseio/trailbase
synced 2026-04-21 13:37:44 +00:00
Forward v8 feature to CLI.
This commit is contained in:
parent
6caf4e1a91
commit
ca5d257182
6 changed files with 10 additions and 3 deletions
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -75,3 +75,4 @@ jobs:
|
|||
- uses: pre-commit/action@v3.0.1
|
||||
with:
|
||||
extra_args: "--all-files --verbose"
|
||||
- run: df -h
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ rust-embed = { version = "8.4.0", default-features = false, features = ["mime-gu
|
|||
tokio = { version = "^1.38.0", default-features = false, features = ["macros", "net", "rt-multi-thread", "fs", "signal", "time", "sync"] }
|
||||
tracing = { version = "0.1.40", default-features = false }
|
||||
tracing-subscriber = { version = "0.3.18", default-features = false, features = ["smallvec", "std", "fmt", "json"] }
|
||||
trailbase = { path = "crates/core", version = "0.2.0" }
|
||||
trailbase = { path = "crates/core", version = "0.2.0", default-features = false, features=["wasm"] }
|
||||
trailbase-assets = { path = "crates/assets", version = "0.2.0" }
|
||||
trailbase-build = { path = "crates/build", version = "0.1.1" }
|
||||
trailbase-client = { path = "crates/client", version = "0.5.0" }
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -13,7 +13,7 @@ format:
|
|||
dotnet format client/dotnet/test; \
|
||||
poetry -C client/python run black --config pyproject.toml .; \
|
||||
swift format -r -i client/swift/trailbase/**/*.swift; \
|
||||
gofmt -w **/*.go;
|
||||
gofmt -w client/go/trailbase;
|
||||
|
||||
check:
|
||||
pnpm -r check; \
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));
|
|||
async function initTrailBase(): Promise<{ subprocess: Subprocess }> {
|
||||
const pwd = cwd();
|
||||
if (!pwd.endsWith("client")) {
|
||||
throw Error(`Unxpected CWD: ${pwd}`);
|
||||
throw Error(`Unexpected CWD: ${pwd}`);
|
||||
}
|
||||
|
||||
const root = join(pwd, "..", "..", "..", "..");
|
||||
|
|
|
|||
|
|
@ -12,6 +12,9 @@ doctest = false
|
|||
name = "trail"
|
||||
|
||||
[features]
|
||||
default = ["v8"]
|
||||
# Conditionally enable "v8" feature of dep:trailbase.
|
||||
v8 = ["trailbase/v8"]
|
||||
swagger = ["dep:utoipa-swagger-ui"]
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ exclude = [
|
|||
]
|
||||
autobenches = false
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[[bench]]
|
||||
name = "benchmark"
|
||||
harness = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue