From c565a4c59e41278ed02a0373e05cf5583e1bd708 Mon Sep 17 00:00:00 2001 From: Lyle Douglass Date: Sun, 31 Dec 2023 16:13:06 -0500 Subject: [PATCH] chore: change name of application files changed name of application files to better reflect their purpose --- .github/workflows/build.yml | 18 +++++++++--------- .gitignore | 4 ++-- cmd/{client => cli}/main.go | 0 cmd/{server => watcher}/main.go | 0 4 files changed, 11 insertions(+), 11 deletions(-) rename cmd/{client => cli}/main.go (100%) rename cmd/{server => watcher}/main.go (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2d0d176..f25c884 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,11 +28,11 @@ jobs: - name: Build for Windows (amd64) run: | - cd cmd/client && env GOOS=windows GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools_client.exe - cd ../server && env GOOS=windows GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools_server.exe + cd cmd/cli && env GOOS=windows GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools_cli.exe + cd ../watcher && env GOOS=windows GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools_watcher.exe - name: Build for Linux (amd64) - run: cd cmd/server && env GOOS=linux GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools_server + run: cd cmd/watcher && env GOOS=linux GOARCH=amd64 go build -o /home/runner/work/wowtools/wowtools/build/wowtools_watcher # Go Tests are acting up due to the W32 module - I've disabled all the tests but it still spits errors out. Disabling for now as these are all local tests anyways #- name: Test @@ -43,9 +43,9 @@ jobs: with: name: WoWTools-AMD64 path: | - build/wowtools_client.exe - build/wowtools_server.exe - build/wowtools_server + build/wowtools_cli.exe + build/wowtools_watcher.exe + build/wowtools_watcher LICENSE README.md config.yaml @@ -68,7 +68,7 @@ jobs: files: | LICENSE README.md - build/wowtools_client.exe - build/wowtools_server.exe - build/wowtools_server + build/wowtools_cli.exe + build/wowtools_watcher.exe + build/wowtools_watcher config.yaml diff --git a/.gitignore b/.gitignore index ebbbc18..45d2358 100644 --- a/.gitignore +++ b/.gitignore @@ -19,8 +19,8 @@ /local_tests/ # Configs in cmd folder -/cmd/client/config.yaml -/cmd/server/config.yaml +/cmd/cli/config.yaml +/cmd/watcher/config.yaml # Linux binary wowtools_server diff --git a/cmd/client/main.go b/cmd/cli/main.go similarity index 100% rename from cmd/client/main.go rename to cmd/cli/main.go diff --git a/cmd/server/main.go b/cmd/watcher/main.go similarity index 100% rename from cmd/server/main.go rename to cmd/watcher/main.go