From 84e26f597dbdfbf2fcda87d340d4ab6277b96170 Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Fri, 29 Jul 2022 16:59:12 -0500 Subject: [PATCH 1/9] Update compile --- bin/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index 5fc3983..c38fe08 100755 --- a/bin/compile +++ b/bin/compile @@ -33,7 +33,7 @@ RUST_INSTALL_DIESEL=0 # These flags are passed to `cargo install diesel`, e.g. '--no-default-features --features postgres' DIESEL_FLAGS="" # Default build flags to pass to `cargo build`. -RUST_CARGO_BUILD_FLAGS="--release" +RUST_CARGO_BUILD_FLAGS="--release --example heroku-deploy" # Load our toolchain configuration, if any was specified. if [ -f "$BUILD_DIR/rust-toolchain" ]; then From 2fc9816be95f76c7320661ddca45ae288cb66ccf Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Fri, 29 Jul 2022 17:16:29 -0500 Subject: [PATCH 2/9] Update compile --- bin/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index c38fe08..ef2c522 100755 --- a/bin/compile +++ b/bin/compile @@ -137,7 +137,7 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then echo "-----> Building application using Cargo" cd "$BUILD_DIR/$BUILD_PATH" rm -rf target/ - cargo build $RUST_CARGO_BUILD_FLAGS + cargo build --release --example heroku-deploy mkdir -p target/release find "$CARGO_TARGET_DIR/release" -maxdepth 1 -type f -executable -exec cp -a -t target/release {} \; else From 22e98818f415a2a18ecfe2533cc1cccc6a5018d7 Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Sat, 30 Jul 2022 13:36:40 -0500 Subject: [PATCH 3/9] Update compile --- bin/compile | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/compile b/bin/compile index ef2c522..1e8d0cd 100755 --- a/bin/compile +++ b/bin/compile @@ -139,7 +139,6 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then rm -rf target/ cargo build --release --example heroku-deploy mkdir -p target/release - find "$CARGO_TARGET_DIR/release" -maxdepth 1 -type f -executable -exec cp -a -t target/release {} \; else echo "-----> Skipping Cargo build" fi From ffcdb7cf57ccb384999413630485bcd4515d724f Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Sat, 30 Jul 2022 20:48:43 -0500 Subject: [PATCH 4/9] Update compile --- bin/compile | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/compile b/bin/compile index 1e8d0cd..f32af1b 100755 --- a/bin/compile +++ b/bin/compile @@ -138,7 +138,6 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then cd "$BUILD_DIR/$BUILD_PATH" rm -rf target/ cargo build --release --example heroku-deploy - mkdir -p target/release else echo "-----> Skipping Cargo build" fi From 69c534fb1ae2f4ffea4a55253dfce8b8d5a972bf Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Sat, 30 Jul 2022 20:54:47 -0500 Subject: [PATCH 5/9] Update compile --- bin/compile | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/compile b/bin/compile index f32af1b..db87dce 100755 --- a/bin/compile +++ b/bin/compile @@ -138,6 +138,7 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then cd "$BUILD_DIR/$BUILD_PATH" rm -rf target/ cargo build --release --example heroku-deploy + ls target/release/examples/ else echo "-----> Skipping Cargo build" fi From 647991d934e91d5491532c1017d9787cc135ec7b Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Sat, 30 Jul 2022 21:00:02 -0500 Subject: [PATCH 6/9] Update compile --- bin/compile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index db87dce..de2b6af 100755 --- a/bin/compile +++ b/bin/compile @@ -138,7 +138,9 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then cd "$BUILD_DIR/$BUILD_PATH" rm -rf target/ cargo build --release --example heroku-deploy - ls target/release/examples/ + mkdir -p target/release + find "$CARGO_TARGET_DIR/release" -maxdepth 1 -type f -executable -exec cp -a -t target/release {} \; + ls target/release/ else echo "-----> Skipping Cargo build" fi From 70dd58353aa23cdf3d7514ca369e8b904325ea82 Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Sat, 30 Jul 2022 21:02:09 -0500 Subject: [PATCH 7/9] Update compile --- bin/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index de2b6af..c9d0a46 100755 --- a/bin/compile +++ b/bin/compile @@ -139,7 +139,7 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then rm -rf target/ cargo build --release --example heroku-deploy mkdir -p target/release - find "$CARGO_TARGET_DIR/release" -maxdepth 1 -type f -executable -exec cp -a -t target/release {} \; + find "$CARGO_TARGET_DIR/release" -maxdepth 2 -type f -executable -exec cp -a -t target/release {} \; ls target/release/ else echo "-----> Skipping Cargo build" From 28156aacf0ca93bd263e5b38b26fad1927c0d277 Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Sat, 30 Jul 2022 21:07:34 -0500 Subject: [PATCH 8/9] Update compile --- bin/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index c9d0a46..92518df 100755 --- a/bin/compile +++ b/bin/compile @@ -33,7 +33,7 @@ RUST_INSTALL_DIESEL=0 # These flags are passed to `cargo install diesel`, e.g. '--no-default-features --features postgres' DIESEL_FLAGS="" # Default build flags to pass to `cargo build`. -RUST_CARGO_BUILD_FLAGS="--release --example heroku-deploy" +RUST_CARGO_BUILD_FLAGS="--release" # Load our toolchain configuration, if any was specified. if [ -f "$BUILD_DIR/rust-toolchain" ]; then @@ -137,7 +137,7 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then echo "-----> Building application using Cargo" cd "$BUILD_DIR/$BUILD_PATH" rm -rf target/ - cargo build --release --example heroku-deploy + cargo build $RUST_CARGO_BUILD_FLAGS mkdir -p target/release find "$CARGO_TARGET_DIR/release" -maxdepth 2 -type f -executable -exec cp -a -t target/release {} \; ls target/release/ From 75fbf3d2cd5cbc10b9fd44c401370e8ea9097189 Mon Sep 17 00:00:00 2001 From: Mateo Cabanal Date: Sat, 30 Jul 2022 21:07:49 -0500 Subject: [PATCH 9/9] Update compile --- bin/compile | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/compile b/bin/compile index 92518df..da978b3 100755 --- a/bin/compile +++ b/bin/compile @@ -140,7 +140,6 @@ if [ $RUST_SKIP_BUILD -ne 1 ]; then cargo build $RUST_CARGO_BUILD_FLAGS mkdir -p target/release find "$CARGO_TARGET_DIR/release" -maxdepth 2 -type f -executable -exec cp -a -t target/release {} \; - ls target/release/ else echo "-----> Skipping Cargo build" fi