Skip to content

Commit

Permalink
update the structure to make the cli installable
Browse files Browse the repository at this point in the history
  • Loading branch information
sifatulrabbi committed Jun 24, 2024
1 parent f2fffe8 commit 1eb9acd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ test-run-http:
go run cmd/filepatrol/main.go --path tmp --exec http

list:
GOPROXY=proxy.golang.org go list -m github.com/sifatulrabbi/[email protected].1
GOPROXY=proxy.golang.org go list -m github.com/sifatulrabbi/[email protected].2
2 changes: 1 addition & 1 deletion internals/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"os/exec"

"github.com/sifatulrabb/filepatrol/internals/statichttp"
"github.com/sifatulrabbi/filepatrol/internals/statichttp"
)

// returns (execType, rootPath, command)
Expand Down
6 changes: 3 additions & 3 deletions cmd/filepatrol/main.go → main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package main

import (
"github.com/sifatulrabb/filepatrol/internals/cli"
"github.com/sifatulrabb/filepatrol/internals/statichttp"
"github.com/sifatulrabb/filepatrol/internals/watchdog"
"github.com/sifatulrabbi/filepatrol/internals/cli"
"github.com/sifatulrabbi/filepatrol/internals/statichttp"
"github.com/sifatulrabbi/filepatrol/internals/watchdog"
)

func main() {
Expand Down

0 comments on commit 1eb9acd

Please sign in to comment.