aboutsummaryrefslogtreecommitdiffstats
path: root/post_build.sh
diff options
context:
space:
mode:
authorDiego Miguel <dmlls@diegomiguel.me>2022-03-06 16:12:59 +0100
committerDiego Miguel <dmlls@diegomiguel.me>2022-06-11 16:57:21 +0200
commit8942791f57cc6d151bd5f581e4e2aecd42a8dc92 (patch)
treea1e0080cf7761d27e1e16f1e86f6b4055a55d11d /post_build.sh
parenta3bfbb5e08d57c4e834e8565d103870230fa1698 (diff)
All ready for PR
Diffstat (limited to 'post_build.sh')
-rwxr-xr-xpost_build.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/post_build.sh b/post_build.sh
deleted file mode 100755
index 75952538..00000000
--- a/post_build.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-export LC_ALL=C.UTF-8
-export LANG=C.UTF-8
-set -e
-set +x
-
-export PROJECT_VERSION="1.8.0"
-
-mkdir -p "$OUTPUT_DIR"
-
-cp "$SOURCES_DIR"/bootloader/bootloader-5.0.4.bin $OUTPUT_DIR/bootloader.bin
-cp "$BUILD_DIR/src/pinetime-mcuboot-app-image-$PROJECT_VERSION.bin" "$OUTPUT_DIR/pinetime-mcuboot-app-image-$PROJECT_VERSION.bin"
-cp "$BUILD_DIR/src/pinetime-mcuboot-app-dfu-$PROJECT_VERSION.zip" "$OUTPUT_DIR/pinetime-mcuboot-app-dfu-$PROJECT_VERSION.zip"
-
-cp "$BUILD_DIR/src/pinetime-mcuboot-recovery-loader-image-$PROJECT_VERSION.bin" "$OUTPUT_DIR/pinetime-mcuboot-recovery-loader-image-$PROJECT_VERSION.bin"
-cp "$BUILD_DIR/src/pinetime-mcuboot-recovery-loader-dfu-$PROJECT_VERSION.zip" "$OUTPUT_DIR/pinetime-mcuboot-recovery-loader-dfu-$PROJECT_VERSION.zip"
-
-
-mkdir -p "$OUTPUT_DIR/src"
-cd "$BUILD_DIR"
-cp src/*.bin "$OUTPUT_DIR/src"
-cp src/*.hex "$OUTPUT_DIR/src"
-cp src/*.out "$OUTPUT_DIR/src"
-cp src/*.map "$OUTPUT_DIR/src"
-
-ls -RUv1 "$OUTPUT_DIR" | sed 's;^\([^/]\); \1;g'