Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
asiermarques committed Feb 18, 2023
1 parent 20fe6e7 commit 79bdaea
Show file tree
Hide file tree
Showing 43 changed files with 841 additions and 450 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- checkout
- run: go get -v -t -d ./...
- run: go test -v ./...
- run: go install github.com/cucumber/godog/cmd/godog
- run: go install github.com/cucumber/godog/cli/godog@latest
- run: ./e2e_tests.sh
release:
docker:
Expand Down
27 changes: 0 additions & 27 deletions application/initProject.go

This file was deleted.

7 changes: 7 additions & 0 deletions cmd/cli/root.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package cli

import "github.com/asiermarques/adrgen/internal/_infrastructure/cli"

func Run() {
cli.Execute()
}
Binary file added docs/features/e2e/bin/adrgen
Binary file not shown.
135 changes: 0 additions & 135 deletions domain/template.go

This file was deleted.

2 changes: 1 addition & 1 deletion e2e_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

cd ./docs/features/definitionsteps || exit
cd ./features/definitionsteps || exit
godog ../
cd ../../..
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 @@ -14,7 +14,7 @@ func SuiteContext(t *godog.TestSuiteContext) {
output, err := exec.Command(
"/bin/sh",
"-c",
"cd ../../../; go build -o docs/features/e2e/bin/adrgen",
"cd ../../; go build -o features/e2e/bin/adrgen",
).CombinedOutput()
if err != nil {
fmt.Printf("error generating the adrgen binary: %s %s", err, output)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/asiermarques/adrgen

go 1.18
go 1.17

require (
github.com/cucumber/godog v0.10.0
Expand Down
Loading

0 comments on commit 79bdaea

Please sign in to comment.