Skip to content
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

Create a folder automatically when using --start #81

Open
Calinou opened this issue Jan 28, 2022 · 0 comments
Open

Create a folder automatically when using --start #81

Calinou opened this issue Jan 28, 2022 · 0 comments

Comments

@Calinou
Copy link

Calinou commented Jan 28, 2022

Right now, you get an error when trying to use --start with a folder name that does not exist:

❯ clangbuildanalyzer --start artifacts
ERROR: failed to create session file at 'artifacts/ClangBuildAnalyzerSession.txt'.

Creating a folder manually solves this, but I think it should be done automatically (ideally recursively, so that it works when multiple folders need to be created):

~/Documents/Git/godotengine/godot master
❯ mkdir artifacts                                            

~/Documents/Git/godotengine/godot master
❯ clangbuildanalyzer --start artifacts
Build tracing started. Do some Clang builds with '-ftime-trace', then run 'ClangBuildAnalyzer --stop artifacts <filename>' to stop tracing and save session to a file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant