Update 2025-03-12 08:17 OpenBSD/amd64-t14
This commit is contained in:
parent
475bef8131
commit
ed8624ef01
@ -1,11 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# fallback to no config
|
_dir="$1"
|
||||||
if [ -z "$HOME/.lenv" ]
|
shift
|
||||||
then
|
|
||||||
echo "_env=dev" > $HOME/.lenv
|
|
||||||
echo "_dir=$HOME/src/luakit-dev" >> $HOME/.lenv
|
|
||||||
fi
|
|
||||||
|
|
||||||
# load config
|
# load config
|
||||||
. $HOME/.lenv
|
. $HOME/.lenv
|
||||||
@ -47,12 +43,6 @@ then
|
|||||||
echo " diff file env - diff file with other environment"
|
echo " diff file env - diff file with other environment"
|
||||||
echo " update-port - update openbsd port from last commit"
|
echo " update-port - update openbsd port from last commit"
|
||||||
echo
|
echo
|
||||||
echo " other commands:"
|
|
||||||
echo " ledit - edit this script"
|
|
||||||
echo " ldev - switch to dev environment (c0dev0id/luakit)"
|
|
||||||
echo " ltest - switch to test environment (luakit/luakit)"
|
|
||||||
echo " ltemp - switch to temp environment (luakit/luakit)"
|
|
||||||
echo
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -76,11 +66,6 @@ then
|
|||||||
gmake -j1 luakit
|
gmake -j1 luakit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$_action" == "debug" ]
|
|
||||||
then
|
|
||||||
egdb -ex "break luakit.c:main" -ex "run $@" ./luakit
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$_action" == "reset" ]
|
if [ "$_action" == "reset" ]
|
||||||
then
|
then
|
||||||
if [ "$_env" == "dev" ]
|
if [ "$_env" == "dev" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user