Skip to content

Commit

Permalink
change fresh using Argus Labs github
Browse files Browse the repository at this point in the history
  • Loading branch information
zulkhair committed Feb 21, 2024
1 parent 55efe51 commit 0b935c1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/world/cardinal/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
"pkg.world.dev/world-cli/common/logger"
"pkg.world.dev/world-cli/tea/style"

"github.com/Argus-Labs/fresh/runner"
"github.com/magefile/mage/sh"
"github.com/spf13/cobra"
"github.com/zulkhair/fresh/runner"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion common/tea_cmd/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func GitCloneCmd(url string, targetDir string, initMsg string) (err error) {
return
}

err = sh.Run("rm", "-rf", ".git")
err = os.RemoveAll(".git")
if err != nil {
return
}
Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module pkg.world.dev/world-cli

go 1.21.1
go 1.22.0

require (
github.com/Argus-Labs/fresh v0.0.1
github.com/charmbracelet/bubbles v0.16.1
github.com/charmbracelet/bubbletea v0.24.2
github.com/denisbrodbeck/machineid v1.0.1
Expand All @@ -13,7 +14,6 @@ require (
github.com/posthog/posthog-go v0.0.0-20240202122501-d793288ce2c9
github.com/rs/zerolog v1.31.0
github.com/spf13/cobra v1.7.0
github.com/zulkhair/fresh v0.0.0-20240206120148-20e4bcfbc141
gotest.tools/v3 v3.5.1
)

Expand All @@ -24,7 +24,6 @@ require (
github.com/howeyc/fsnotify v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/pilu/config v0.0.0-20131214182432-3eb99e6c0b9a // indirect
github.com/pilu/miniassert v0.0.0-20140522125902-bee63581261a // indirect
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
github.com/Argus-Labs/fresh v0.0.1 h1:GcajTQHK652aHu8Snhd9DSWH1EOg8cAjfOJVfod8Thk=
github.com/Argus-Labs/fresh v0.0.1/go.mod h1:7b5Qm7Da8rwQS4SdeGfWUaINfe1E5GY9WXbP8kY/SLE=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4=
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
Expand Down Expand Up @@ -89,8 +91,6 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/urfave/cli v1.22.5/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/zulkhair/fresh v0.0.0-20240206120148-20e4bcfbc141 h1:XymlZUaPL97jSQRZ9dzbgAWIJJ/1Tjneoz/LlFo8Q9Q=
github.com/zulkhair/fresh v0.0.0-20240206120148-20e4bcfbc141/go.mod h1:21tH5jBa0HwMBoVsf4qBfImYjF2Qtfddsa2KY4y9zr4=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
Expand Down

0 comments on commit 0b935c1

Please sign in to comment.