add llgo.sh for ease development

This commit is contained in:
Li Jie
2025-02-13 13:36:53 +08:00
parent 370604f8eb
commit ba46181365

11
llgo.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
WORKDIR=''
WORKDIR=$(pwd)
LLGO_ROOT=''
LLGO_ROOT=$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )
export LLGO_ROOT
cd $LLGO_ROOT/compiler
go install ./cmd/llgo
cd $WORKDIR
llgo "$@"