Skip to content

Commit

Permalink
Use consistent names for ConfigDN executable (always ConfigDN)
Browse files Browse the repository at this point in the history
  • Loading branch information
CADawg committed Apr 13, 2023
1 parent 48d083d commit 12a9692
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,7 @@ pb_data/
pocketbase
vendor/
.idea

# Executables
ConfigDN
ConfigDN.*
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ before:
builds:
- id: build_cgo
main: ./
binary: configdn
binary: ConfigDN
ldflags:
- -s -w -X github.com/dBuidl/ConfigDN.Version={{ .Version }}
env:
Expand All @@ -21,7 +21,7 @@ builds:

- id: build_noncgo
main: ./
binary: configdn
binary: ConfigDN
ldflags:
- -s -w -X github.com/dBuidl/ConfigDN.Version={{ .Version }}
env:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module liveconfig
module github.com/dBuidl/ConfigDN

go 1.19

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package main

import (
"encoding/json"
"github.com/dBuidl/ConfigDN/ui"
"github.com/labstack/echo/v5"
"github.com/pocketbase/dbx"
"liveconfig/ui"
"log"
"net/http"
"os"
Expand All @@ -18,7 +18,7 @@ import (
"github.com/pocketbase/pocketbase/plugins/jsvm"
"github.com/pocketbase/pocketbase/plugins/migratecmd"

_ "liveconfig/migrations"
_ "github.com/dBuidl/ConfigDN/migrations"
)

func main() {
Expand Down

0 comments on commit 12a9692

Please sign in to comment.