mirror of
https://github.com/estkme-group/lpac
synced 2024-07-07 09:16:56 +02:00
rename build variant (build.sh build
-> build.sh linux
) (#49)
This commit is contained in:
parent
3a879e86a5
commit
695b72f183
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- name: Setup Toolchain
|
- name: Setup Toolchain
|
||||||
run: ./scripts/setup-linux.sh
|
run: ./scripts/setup-linux.sh
|
||||||
- name: Build for Linux
|
- name: Build for Linux
|
||||||
run: ./scripts/build.sh build
|
run: ./scripts/build.sh linux
|
||||||
- name: Build for Debian
|
- name: Build for Debian
|
||||||
run: ./scripts/build.sh debian
|
run: ./scripts/build.sh debian
|
||||||
- name: Build for Windows with MinGW
|
- name: Build for Windows with MinGW
|
||||||
|
|
|
@ -33,7 +33,7 @@ lpac is dynamic-linked, Release is built by Github action, if you can't run it y
|
||||||
sudo apt install build-essential cmake git g++ libpcsclite-dev libcurl4-openssl-dev
|
sudo apt install build-essential cmake git g++ libpcsclite-dev libcurl4-openssl-dev
|
||||||
git clone --depth=1 https://github.com/estkme-group/lpac
|
git clone --depth=1 https://github.com/estkme-group/lpac
|
||||||
cd lpac
|
cd lpac
|
||||||
./scripts/build.sh build
|
./scripts/build.sh linux
|
||||||
```
|
```
|
||||||
|
|
||||||
then execute `./output/lpac` to use.
|
then execute `./output/lpac` to use.
|
||||||
|
|
|
@ -37,7 +37,7 @@ mkdir build
|
||||||
cd build || exit 1
|
cd build || exit 1
|
||||||
|
|
||||||
case "${1:-}" in
|
case "${1:-}" in
|
||||||
build)
|
linux)
|
||||||
cmake .. -GNinja
|
cmake .. -GNinja
|
||||||
ninja
|
ninja
|
||||||
chmod +x output/lpac
|
chmod +x output/lpac
|
||||||
|
|
Loading…
Reference in a new issue