mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-31 06:16:27 -04:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user