This commit is contained in:
Jesse Portnoy
2023-07-17 23:05:40 +01:00
parent 92f93fe9d6
commit 61be1084fb
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
go-version: '1.20'
- name: Build
run: cd examples && go build syncat.go
run: cd examples && go mod tidy && go build syncat.go
- name: Test
run: go test -v
-1
View File
@@ -5,7 +5,6 @@ go 1.19
require (
github.com/fatih/color v1.15.0
github.com/jessp01/gohighlight v0.21.1-1
github.com/jessp01/highlight v0.0.0-20230716160321-8969d1f05a45
)
require (
+1 -1
View File
@@ -24,7 +24,7 @@ func main() {
if gopath == "" {
syn_dir = "/etc/highlight"
} else {
syn_dir = gopath + "/src/github.com/jessp01/highlight/syntax_files"
syn_dir = gopath + "/src/github.com/jessp01/gohighlight/syntax_files"
}
syn_dir = os.Getenv("SYNDIR")