sqlite demo

This commit is contained in:
xushiwei
2024-05-15 21:27:42 +08:00
parent f167c6dcca
commit c634dc25b4
7 changed files with 99 additions and 118 deletions

View File

@@ -103,8 +103,6 @@ func SmartDoFile(inFile string, pkgPath ...string) {
fname := autgenFile
if inCompilerDir(absDir) {
fname = "out.ll"
} else if inSqlite(absDir) {
fname = "sqlite.ll"
}
outFile := dir + fname
@@ -129,7 +127,3 @@ func genZip(dir string, outFile, inFile string) {
func inCompilerDir(dir string) bool {
return strings.Contains(dir, "/llgo/cl/")
}
func inSqlite(dir string) bool {
return strings.HasSuffix(dir, "/llgo/x/sqlite")
}