Skip to content

Commit

Permalink
chore: refactor folder structure for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
connerdouglass committed Jun 25, 2024
1 parent 2e54555 commit 654bec7
Show file tree
Hide file tree
Showing 17 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"os"

"github.com/customrealms/cli/internal/actions/build"
"github.com/customrealms/cli/internal/build"
"github.com/customrealms/cli/internal/project"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/cmd_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"path/filepath"

"github.com/customrealms/cli/internal/actions/initialize"
"github.com/customrealms/cli/internal/initialize"
)

type InitCmd struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/cmd_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package main
import (
"os"

"github.com/customrealms/cli/internal/actions/build"
"github.com/customrealms/cli/internal/actions/serve"
"github.com/customrealms/cli/internal/build"
"github.com/customrealms/cli/internal/project"
"github.com/customrealms/cli/internal/serve"
"github.com/customrealms/cli/internal/server"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/cmd_yml.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"github.com/customrealms/cli/internal/actions/build"
"github.com/customrealms/cli/internal/build"
"github.com/customrealms/cli/internal/project"
)

Expand Down
7 changes: 0 additions & 7 deletions internal/actions/action.go

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"os/exec"

"github.com/customrealms/cli/internal/actions/initialize/template"
"github.com/customrealms/cli/internal/initialize/template"
)

type InitAction struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 654bec7

Please sign in to comment.