mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 05:48:23 +00:00
cfa14dcca0
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.
14 lines
293 B
Bash
Executable File
14 lines
293 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# script/setup: Set up application for the first time after cloning, or set it
|
|
# back to the initial first unused state.
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
script/bootstrap
|
|
|
|
git clean -fdX . ../crypto ../common ../storage
|
|
git submodule foreach git clean -fdx
|