Closed AJMansfield closed 3 months ago
@hedger ?
@AJMansfield fbt is designed for running from firmware's source code root, not from anywhere else. And it comes with its own static .gitignoe, which it never modifies. I couldn't reproduce the issue using your instructions.
Maybe you meant ufbt and deploying app code template?
Looks like quite a lot has shifted in the toolchain since I last took a look at this, but I'm guessing you're right and this complaint would be about ufbt now, under the assumption that it's even still an issue lol. The scenario I remember encountering this in was with setting up a project for a custom flipper app.
@AJMansfield can you test all your use cases with latest ufbt and sdk versions. Or it's ok to close this issues?
Describe the bug.
When running
fbt vscode_dist
in order to set up an existing project for VSCode integration,fbt
appends the IDE-specific ignores to.gitignore
.This is often the proper behavior when setting up preferred tooling for a project as a whole, but it's usually not appropriate to make changes specific to one's own tooling to a collaborative project -- even just a
.gitignore
line.The correct way to locally ignore local IDE files is to instead append those lines to
.git/info/exclude
.Reproduction
Target
fbt
Logs
No response
Anything else?
No response