Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/goravel/cos v1.17.0
github.com/goravel/example-proto v0.0.1
github.com/goravel/fiber v1.17.0
github.com/goravel/framework v1.17.0
github.com/goravel/framework v1.17.1-0.20260203082038-2649a5eced57
github.com/goravel/gin v1.17.0
github.com/goravel/minio v1.17.0
github.com/goravel/mysql v1.17.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ github.com/goravel/fiber v1.17.0 h1:XMkuz29hJzaN5mW7dK70oc6FfMDUQeYPbrLyBQoiIA8=
github.com/goravel/fiber v1.17.0/go.mod h1:hu2eLwQ6u8ZDFsVWHeV1q0bh7g7PRQg0VZxceVr29Uc=
github.com/goravel/file-rotatelogs/v2 v2.4.2 h1:g68AzbePXcm0V2CpUMc9j4qVzcDn7+7aoWSjZ51C0m4=
github.com/goravel/file-rotatelogs/v2 v2.4.2/go.mod h1:23VuSW8cBS4ax5cmbV+5AaiLpq25b8UJ96IhbAkdo8I=
github.com/goravel/framework v1.17.0 h1:a02vTMO7ETQE+fkpfndiNgSXucJKA58qB3nzm+moW6A=
github.com/goravel/framework v1.17.0/go.mod h1:ClgXBsig8R2w+xAJT2TVxpAkazGHFtvVmNBolYT94gQ=
github.com/goravel/framework v1.17.1-0.20260203082038-2649a5eced57 h1:/r1qk9k8D37TUznujCWL9aLVmc99f1OVrV4nPC3pDPI=
github.com/goravel/framework v1.17.1-0.20260203082038-2649a5eced57/go.mod h1:ClgXBsig8R2w+xAJT2TVxpAkazGHFtvVmNBolYT94gQ=
github.com/goravel/gin v1.17.0 h1:8H66v9GaYJR9UQ7C0VOef25/r8t/BAH9ZxlvxbHprlc=
github.com/goravel/gin v1.17.0/go.mod h1:n0W6V/H+E0mqO+Gh+UMjeBANZe//lpWJ6X7kF3kwxR8=
github.com/goravel/minio v1.17.0 h1:WGiPP/KZl/fuDpT9THRM83wjhLCqe1oIAyNVJvVjhS4=
Expand Down
12 changes: 5 additions & 7 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ func TestMainTestSuite(t *testing.T) {
func (s *MainTestSuite) SetupSuite() {}

func (s *MainTestSuite) TearDownTest() {
res := facades.Process().Run("git", "checkout", ".")
s.False(res.Failed())
// Make sure the app can be built after running the command
s.False(facades.Process().Run("./artisan").Failed())

res = facades.Process().Run("git", "clean", "-fd")
s.False(res.Failed())

res = facades.Process().Run("go", "mod", "tidy")
s.False(res.Failed())
s.False(facades.Process().Run("git", "checkout", ".").Failed())
s.False(facades.Process().Run("git", "clean", "-fd").Failed())
s.False(facades.Process().Run("go", "mod", "tidy").Failed())
}

func (s *MainTestSuite) TestMakeCommand() {
Expand Down