mirror of
https://github.com/DarkMatterCore/nxdumptool.git
synced 2024-11-22 18:26:39 +00:00
I'm dummy
This commit is contained in:
parent
c5d6081f08
commit
3c519cd631
2 changed files with 6 additions and 2 deletions
2
.github/workflows/rewrite.yml
vendored
2
.github/workflows/rewrite.yml
vendored
|
@ -60,7 +60,7 @@ jobs:
|
||||||
working-directory: nxdumptool
|
working-directory: nxdumptool
|
||||||
run: |
|
run: |
|
||||||
echo "nxdt_commit=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
|
echo "nxdt_commit=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV
|
||||||
./build.sh
|
./build.sh --noconfirm
|
||||||
|
|
||||||
#- name: Build nxdumptool-rewrite GUI binary
|
#- name: Build nxdumptool-rewrite GUI binary
|
||||||
# working-directory: nxdumptool
|
# working-directory: nxdumptool
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
ARG=${1:-'--confirm'}
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
# Clean-up from last build
|
# Clean-up from last build
|
||||||
|
@ -32,4 +34,6 @@ make clean_all
|
||||||
rm -f ./source/main.c
|
rm -f ./source/main.c
|
||||||
mv -f ./main.cpp ./source/main.cpp
|
mv -f ./main.cpp ./source/main.cpp
|
||||||
|
|
||||||
|
if [ ${ARG,,} != "--noconfirm" ]; then
|
||||||
read -rsp $'Press any key to continue...\n' -n 1 key
|
read -rsp $'Press any key to continue...\n' -n 1 key
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue