Added a tokenizer

This commit is contained in:
Eduard Urbach 2023-10-31 11:57:37 +01:00
parent 16690d390f
commit 21cf4b5c6d
Signed by: eduard
GPG key ID: 49226B848C78F6C8
7 changed files with 274 additions and 12 deletions

View file

@ -1,7 +1,6 @@
package cli
import (
"path/filepath"
"strings"
"git.akyoto.dev/cli/q/src/build"
@ -30,15 +29,7 @@ func Build(args []string) int {
}
}
fullPath, err := filepath.Abs(b.Directory)
if err != nil {
log.Error.Println(err)
return 1
}
b.Directory = fullPath
err = b.Run()
err := b.Run()
if err != nil {
log.Error.Println(err)