Skip to content

Commit 785c59e

Browse files
committed
Edit Conan profile recipe
1 parent d4471d0 commit 785c59e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Check if you already have a Conan profile with `conan profile list`. If you have
3737
just conan-profile
3838
```
3939

40-
Then, modify the `$(conan config home)/profiles/default` profile that was generated:
40+
Then, edit the `$(conan config home)/profiles/default` profile that was generated by running `just edit-conan-profile`.
4141

4242
```toml
4343
[buildenv]

justfile

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ default_args := ""
2828
# ie. Set to `firefox` so that docs are opened with `firefox index.html`
2929
default_browser := "xdg-open"
3030

31+
# The default editor to edit configuration files with
32+
default_editor := "hx"
33+
3134
venv:
3235
uv venv --python 3.13
3336

@@ -39,6 +42,9 @@ py-deps reinstall="0":
3942
conan-profile:
4043
{{ conan }} profile detect --force
4144

45+
edit-conan-profile editor=default_editor profile="default":
46+
{{ editor }} $({{ conan }} config home)/profiles/{{ profile }}
47+
4248
conan-deps:
4349
BUILD_DIR={{ build_dir }} \
4450
{{ conan }} \

0 commit comments

Comments
 (0)