-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat additionnal project yaml #128
base: master
Are you sure you want to change the base?
Conversation
The data in
|
@@ -337,7 +342,9 @@ export class CeedlingAdapter implements TestAdapter { | |||
} | |||
|
|||
private getCeedlingCommand(args: ReadonlyArray<string>) { | |||
const line = `ceedling ${args.join(" ")}`; | |||
const projectCustom = this.getProjectCustom(); | |||
const project = projectCustom ? `project:${projectCustom} ` : ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation define a options:
parameter. Is project:
an alias?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have always used project: probably this was documented this way in previous versions of Ceedling but I will do some tests with options: and update this PR
@@ -77,6 +77,12 @@ | |||
"default": ".", | |||
"scope": "resource" | |||
}, | |||
"ceedlingExplorer.projectCustom": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it could be named options
to keep the same ceedling vocabulary. It should also be a list of name.
Thank you for the contribution. I prefer to not include the PR in today's release because I think we can improve the support for options files and I don't want to change the |
Thank you for your feedback I will improve this PR soon following your recommendations. |
Fix #117
Add a feature to use Ceedling
project:
argument in order to allow to merge/load custom configuration from an additionalproject_specific.yml
to the mainproject.yml
.This is usefull to test on different compiler or for different hardware as you can keep you common settings on main project.yml and use multiple specific.yml files to changes flags, defines... at runtime.