mirror of
https://github.com/Syping/dtranslatebot.git
synced 2024-11-22 05:40:23 +01:00
little quality changes
This commit is contained in:
parent
6bcef831c9
commit
f98478bc4d
3 changed files with 4 additions and 2 deletions
3
.github/workflows/windows.yml
vendored
3
.github/workflows/windows.yml
vendored
|
@ -9,7 +9,8 @@ jobs:
|
||||||
run:
|
run:
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
steps:
|
steps:
|
||||||
- uses: msys2/setup-msys2@v2
|
- name: Setup MSYS2
|
||||||
|
uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
msystem: clang64
|
msystem: clang64
|
||||||
update: true
|
update: true
|
||||||
|
|
|
@ -29,8 +29,8 @@ if (DEFINED NPROC_EXECUTABLE)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND "${NPROC_EXECUTABLE}"
|
COMMAND "${NPROC_EXECUTABLE}"
|
||||||
OUTPUT_VARIABLE NPROC
|
OUTPUT_VARIABLE NPROC
|
||||||
|
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||||
)
|
)
|
||||||
string(STRIP "${NPROC}" NPROC)
|
|
||||||
set(MAKE_JOBS_ARG "-j${NPROC}")
|
set(MAKE_JOBS_ARG "-j${NPROC}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
by creating a New Application:
|
by creating a New Application:
|
||||||
https://discord.com/developers/applications
|
https://discord.com/developers/applications
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"token": "",
|
"token": "",
|
||||||
"translator": {
|
"translator": {
|
||||||
"type": "stub"
|
"type": "stub"
|
||||||
|
|
Loading…
Reference in a new issue