Skip to content

Commit

Permalink
Modernize file structure (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelicianoTech authored Feb 15, 2023
1 parent a3380a8 commit 402d6fc
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- go-mod-v1
- run:
name: "Download Dependancies"
command: cd src && go mod download
command: go mod download
- run:
name: "Run Tests"
command: cd src && go test
command: go test ./...
- save_cache:
key: go-mod-v1
paths:
Expand All @@ -60,14 +60,14 @@ jobs:
steps:
- run:
name: "Build Binaries with GoReleaser"
command: cd src && goreleaser --snapshot --skip-publish --rm-dist
command: cd ddns && goreleaser --snapshot --skip-publish --rm-dist
- when:
condition: << parameters.publish >>
steps:
- run:
name: "Build Binaries & Publish with GoReleaser"
command: cd src && goreleaser
command: cd ddns && goreleaser
- persist_to_workspace:
root: "src"
root: "ddns"
paths:
- "dist"
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.
File renamed without changes.
7 changes: 7 additions & 0 deletions ddns/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package main

import "github.com/cloud-unpacked/cu-ddns/ddns/cmd"

func main() {
cmd.Execute()
}
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions src/main.go

This file was deleted.

0 comments on commit 402d6fc

Please sign in to comment.