/bin/twn: add init command to copy templates over
This commit is contained in:
parent
f3a2dc9063
commit
4efe80bb5a
3
bin/twn
3
bin/twn
@ -18,6 +18,9 @@ case "$1" in
|
|||||||
$0 build && gdb --se=libgame.so -ex run --args "$(basename $PWD)" "${@:2}"
|
$0 build && gdb --se=libgame.so -ex run --args "$(basename $PWD)" "${@:2}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
init ) cp -r "$TWNROOT/apps/templates/$2" "$3"
|
||||||
|
;;
|
||||||
|
|
||||||
apitrace ) case "$2" in
|
apitrace ) case "$2" in
|
||||||
take ) export ASAN_OPTIONS=verify_asan_link_order=0
|
take ) export ASAN_OPTIONS=verify_asan_link_order=0
|
||||||
export LD_PRELOAD="/usr/lib/libubsan.so /usr/lib/apitrace/wrappers/glxtrace.so $LD_PRELOAD"
|
export LD_PRELOAD="/usr/lib/libubsan.so /usr/lib/apitrace/wrappers/glxtrace.so $LD_PRELOAD"
|
||||||
|
Loading…
Reference in New Issue
Block a user