> configure(npc)
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 00:48:34 up 1 day 9:35, 2 users, load average: 1.32, 0.95, 0.63
This commit is contained in:
parent
0d85ad7ab8
commit
752a0cf178
2 changed files with 4 additions and 5 deletions
|
@ -10,12 +10,11 @@ STUNAME=李心杨
|
||||||
TRACER=tracer-ysyx
|
TRACER=tracer-ysyx
|
||||||
GITFLAGS="-q --author=$TRACER<tracer@ysyx.org> --no-verify --allow-empty"
|
GITFLAGS="-q --author=$TRACER<tracer@ysyx.org> --no-verify --allow-empty"
|
||||||
|
|
||||||
YSYX_HOME=$NEMU_HOME/..
|
|
||||||
WORK_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
WORK_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||||
WORK_INDEX=$YSYX_HOME/.git/index.${WORK_BRANCH}
|
WORK_INDEX=.git/index.${WORK_BRANCH}
|
||||||
TRACER_BRANCH=$TRACER
|
TRACER_BRANCH=$TRACER
|
||||||
|
|
||||||
LOCK_DIR=$YSYX_HOME/.git/
|
LOCK_DIR=.git/
|
||||||
|
|
||||||
git_soft_checkout () {
|
git_soft_checkout () {
|
||||||
git checkout --detach -q && git reset --soft $1 -q -- && git checkout $1 -q -- ;
|
git checkout --detach -q && git reset --soft $1 -q -- && git checkout $1 -q -- ;
|
||||||
|
|
|
@ -80,11 +80,11 @@ add_test(NAME V${TOPMODULE} COMMAND V${TOPMODULE})
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET V${TOPMODULE}_nvboard
|
TARGET V${TOPMODULE}_nvboard
|
||||||
COMMAND ${CMAKE_SOURCE_DIR}/../git_commit.sh "Build V${TOPMODULE}_nvboard"
|
COMMAND ${CMAKE_SOURCE_DIR}/../git_commit.sh "Build V${TOPMODULE}_nvboard"
|
||||||
WORKING_DIRECTORY ../
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET V${TOPMODULE}
|
TARGET V${TOPMODULE}
|
||||||
COMMAND ${CMAKE_SOURCE_DIR}/../git_commit.sh "Build V${TOPMODULE}"
|
COMMAND ${CMAKE_SOURCE_DIR}/../git_commit.sh "Build V${TOPMODULE}"
|
||||||
WORKING_DIRECTORY ../
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/../
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue