| OLD | NEW |
| 1 #!/bin/sh | 1 #!/bin/sh |
| 2 # Copyright (c) 2016, the Fletch project authors. Please see the AUTHORS file | 2 # Copyright (c) 2016, the Dartino project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE.md file. | 4 # BSD-style license that can be found in the LICENSE.md file. |
| 5 | 5 |
| 6 # Temporary script to build one -a file for use bu the build-and-deploy.sh scrip
t. | 6 # Temporary script to build one -a file for use bu the build-and-deploy.sh scrip
t. |
| 7 | 7 |
| 8 pkill -9 dart | 8 pkill -9 dart |
| 9 rm -rf out | 9 rm -rf out |
| 10 | 10 |
| 11 set -e | 11 set -e |
| 12 | 12 |
| 13 ninja | 13 ninja |
| 14 ninja -C out/ReleaseX64 | 14 ninja -C out/ReleaseX64 |
| 15 ninja -C out/ReleaseSTM disco_fletch | 15 ninja -C out/ReleaseSTM disco_fletch |
| 16 ninja -C out/DebugSTM disco_fletch | 16 ninja -C out/DebugSTM disco_fletch |
| 17 | 17 |
| 18 cd out/ReleaseSTM | 18 cd out/ReleaseSTM |
| 19 ../../third_party/gcc-arm-embedded/linux/gcc-arm-embedded/bin/arm-none-eabi-ar \ | 19 ../../third_party/gcc-arm-embedded/linux/gcc-arm-embedded/bin/arm-none-eabi-ar \ |
| 20 -M < ../../tools/stm/one-stm-lib.ar | 20 -M < ../../tools/stm/one-stm-lib.ar |
| 21 cd ../.. | 21 cd ../.. |
| 22 cd out/DebugSTM | 22 cd out/DebugSTM |
| 23 ../../third_party/gcc-arm-embedded/linux/gcc-arm-embedded/bin/arm-none-eabi-ar \ | 23 ../../third_party/gcc-arm-embedded/linux/gcc-arm-embedded/bin/arm-none-eabi-ar \ |
| 24 -M < ../../tools/stm/one-stm-lib.ar | 24 -M < ../../tools/stm/one-stm-lib.ar |
| 25 cd ../.. | 25 cd ../.. |
| OLD | NEW |