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