diff --git a/.drone.yml b/.drone.yml index 3b4c6a7..a081b1f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,6 @@ steps: from_secret: gitea_token base_url: https://git.adawesome.tech files: - - modlimitfix - - modlimitfix.exe + - bin/* when: event: tag diff --git a/.gitignore b/.gitignore index b883f1f..2d6a528 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.exe +bin/* diff --git a/build-linux.sh b/build-linux.sh index 047ed3d..c18a592 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -1,2 +1,3 @@ #!/bin/bash -g++ main.cpp -o modlimitfix --std=c++17 +mkdir -p bin/ +g++ main.cpp -o bin/modlimitfix --std=c++17 diff --git a/build-win.sh b/build-win.sh index 1863088..7a79887 100755 --- a/build-win.sh +++ b/build-win.sh @@ -1,3 +1,4 @@ #!/bin/bash +mkdir -p bin/ # Use MINGW for cross-compilation -x86_64-w64-mingw32-g++ main.cpp -o modlimitfix.exe -std=c++17 --static +x86_64-w64-mingw32-g++ main.cpp -o bin/modlimitfix.exe -std=c++17 --static diff --git a/modlimitfix b/modlimitfix deleted file mode 100755 index c552efa..0000000 Binary files a/modlimitfix and /dev/null differ