readme: simplify installation instructions

This also cleans up the remaining mentioned LLGOROOT.
This commit is contained in:
Aofei Sheng
2024-07-09 16:18:30 +08:00
parent 35d34cd4e8
commit ae9c3276bc
2 changed files with 5 additions and 14 deletions

View File

@@ -17,8 +17,6 @@
package cl_test
import (
"os"
"path/filepath"
"testing"
"github.com/goplus/llgo/cl"
@@ -67,8 +65,6 @@ func TestPython(t *testing.T) {
}
func TestGoPkgMath(t *testing.T) {
root, _ := filepath.Abs("..")
os.Setenv("LLGOROOT", root)
conf := build.NewDefaultConf(build.ModeInstall)
build.Do([]string{"math"}, conf)
}