mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
legacy: improve script/setup
I believe the files were not cleared properly and switching between emulator and firmware builds may have been troublesome. Two changes: 1. `git clean` cleans only in the working tree and subdirectories. We need to clear the related projects as well. 2. `vendor/QR-Code-generator/c/qrcodegen.{o,d}` are not git ignored and since we use the `X` flag they are not removed. Changing to `x`, which also removes untracked files.
This commit is contained in:
parent
171067ffff
commit
cfa14dcca0
@ -9,5 +9,5 @@ cd "$(dirname "$0")/.."
|
|||||||
|
|
||||||
script/bootstrap
|
script/bootstrap
|
||||||
|
|
||||||
git clean -fdX
|
git clean -fdX . ../crypto ../common ../storage
|
||||||
git submodule foreach git clean -fdX
|
git submodule foreach git clean -fdx
|
||||||
|
Loading…
Reference in New Issue
Block a user