Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,15 @@ specification_version = 1

code_generation = {
languages = {
rust#1.70.0 = { package_versions=[all] }
rust#1.70.0 = {}
}
}
```

The declared languages are a capability list only — a bare
`language#lang_version`. Which of them to generate, where, and for which package
versions is set in `comline.toml` (below).

The directory keeps the name you gave; the `congregation` name is that name
reduced to a valid Comline identifier (letters, digits and `_`), so
`comline new my-api` produces the directory `my-api/` with `congregation my_api`.
Expand Down
2 changes: 1 addition & 1 deletion src/commands/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ specification_version = 1

code_generation = {{
languages = {{
rust#1.70.0 = {{ package_versions=[all] }}
rust#1.70.0 = {{}}
}}
}}
"
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/simple_project/config.idp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ specification_version = 1

code_generation = {
languages = {
rust#1.70.0 = { package_versions=[all] }
rust#1.70.0 = {}
}
}
Loading