From fa83d1964a4aac1e7a4bd68c75a962106324ddb6 Mon Sep 17 00:00:00 2001 From: tobil4sk Date: Thu, 23 Jan 2025 14:17:10 +0000 Subject: [PATCH 1/2] Add warning if destination flag is ignored (#1179) If the current target does not produce a file, the -Ddestination flag is currently ignored without warning. This situation may occur commonly when 'default' points to another target, but doesn't produce a file itself. A warning will now be displayed: Warning: Target 'default' does not output a file, so 'destination' has been ignored --- tools/hxcpp/BuildTool.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/hxcpp/BuildTool.hx b/tools/hxcpp/BuildTool.hx index d6b42f513..5c5e83b4f 100644 --- a/tools/hxcpp/BuildTool.hx +++ b/tools/hxcpp/BuildTool.hx @@ -771,6 +771,8 @@ class BuildTool } } Profile.pop(); + case _ if (inDestination != null): + Log.warn('Target \'${inTarget}\' does not output a file, so \'destination\' has been ignored'); } if (mCopyFiles.length>0) From 540e2f18dcccba22e0bbd81fef015e565b5f0b2d Mon Sep 17 00:00:00 2001 From: tobil4sk Date: Fri, 31 Jan 2025 06:19:18 +0000 Subject: [PATCH 2/2] Fix curl command for downloading mariadb setup (#1186) --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b1ad6f63b..e037b3f49 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -152,8 +152,8 @@ jobs: run: | set -ex sudo rm -R /var/lib/mysql/ - curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup > mariadb_repo_setup - curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup.sha256 > mariadb_repo_setup.sha256 + curl -sSL https://downloads.mariadb.com/MariaDB/mariadb_repo_setup > mariadb_repo_setup + curl -sSL https://downloads.mariadb.com/MariaDB/mariadb_repo_setup.sha256 > mariadb_repo_setup.sha256 sha256sum --check mariadb_repo_setup.sha256 sudo bash mariadb_repo_setup sudo apt-get update -qqy