Skip to content

Commit

Permalink
Move commander from SimonBaeumer/commander to commander-cli/commander
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBaeumer committed Jul 7, 2020
1 parent 1267eea commit f5a2bb8
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:

before_install:
- go get -u golang.org/x/lint/golint
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v1.2.1/commander-linux-amd64 -o ~/bin/commander
- curl -L https://github.com/commander-cli/commander/releases/download/v1.2.1/commander-linux-amd64 -o ~/bin/commander
- chmod +x ~/bin/commander

jobs:
Expand All @@ -37,7 +37,7 @@ jobs:
- name: macOS integration
os: osx
script:
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v0.3.0/commander-darwin-amd64 -o ~/bin/commander
- curl -L https://github.com/commander-cli/commander/releases/download/v0.3.0/commander-darwin-amd64 -o ~/bin/commander
- chmod +x ~/bin/commander
- make integration-unix

Expand All @@ -53,7 +53,7 @@ jobs:
before_install:
- choco install make
- choco install curl
- curl -L https://github.com/SimonBaeumer/commander/releases/download/v1.2.1/commander-windows-amd64 -o C:\Windows\system32\commander.exe
- curl -L https://github.com/commander-cli/commander/releases/download/v1.2.1/commander-windows-amd64 -o C:\Windows\system32\commander.exe
script:
- make integration-windows

Expand Down Expand Up @@ -95,5 +95,5 @@ jobs:
- release/commander-windows-386.exe
skip_cleanup: true
on:
repo: SimonBaeumer/commander
repo: commander-cli/commander
tags: true
2 changes: 1 addition & 1 deletion cmd/commander/commander.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"path"
"strings"

"github.com/SimonBaeumer/commander/pkg/app"
"github.com/commander-cli/commander/pkg/app"
"github.com/urfave/cli"
)

Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module github.com/SimonBaeumer/commander
module github.com/commander-cli/commander

require (
github.com/Microsoft/go-winio v0.4.14 // indirect
github.com/SimonBaeumer/cmd v1.2.3
github.com/SimonBaeumer/commander v1.3.0 // indirect
github.com/antchfx/xmlquery v1.1.0
github.com/antchfx/xpath v1.1.0 // indirect
github.com/docker/distribution v2.7.1+incompatible // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ github.com/SimonBaeumer/cmd v1.1.0 h1:tr5dUMlly/8bLiC5B0J1AcE4ISru8POEfzAirWnUJn
github.com/SimonBaeumer/cmd v1.1.0/go.mod h1:4mc/LDXDWNbkeooqHP83yx3JXtInPHjJkF8zhzqqmZE=
github.com/SimonBaeumer/cmd v1.2.3 h1:Q9/FMZntNPlnbCPzXTCBzx+kRhVX9j3NAh2MCYvnMTA=
github.com/SimonBaeumer/cmd v1.2.3/go.mod h1:4mc/LDXDWNbkeooqHP83yx3JXtInPHjJkF8zhzqqmZE=
github.com/SimonBaeumer/commander v1.3.0 h1:QwZ7sTYFrmkOAccZwu8LZltDC08kIEcFjBBOkpjdZIg=
github.com/SimonBaeumer/commander v1.3.0/go.mod h1:sNvvvwudBa2kQcSO7G1PttZHcBUnS5LmtJAjDS1Yh+U=
github.com/antchfx/jsonquery v1.0.0 h1:1Yhk496SrCoY6fJkFZqpXEqbwOw5sFtLns9la4NoK3I=
github.com/antchfx/jsonquery v1.0.0/go.mod h1:h7950pvPrUZzJIflNqsELgDQovTpPNa0rAHf8NwjegY=
github.com/antchfx/xmlquery v1.1.0 h1:vj0kZ1y3Q6my4AV+a9xbWrMYzubw+84zuiKgvfV8vb8=
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
set -e

LATEST=$(curl -s https://api.github.com/repos/SimonBaeumer/commander/releases/latest | jq -r .tag_name)
LATEST=$(curl -s https://api.github.com/repos/commander-cli/commander/releases/latest | jq -r .tag_name)

if [ -z "$COMMANDER_VER" ]; then
COMMANDER_VER=${COMMANDER_VER:-$LATEST}
Expand All @@ -19,7 +19,7 @@ else
arch="386"
fi

url="https://github.com/SimonBaeumer/commander/releases/download/$COMMANDER_VER/commander-linux-$arch"
url="https://github.com/commander-cli/commander/releases/download/$COMMANDER_VER/commander-linux-$arch"

echo "Downloading $url"
curl -L "$url" -o "$INSTALL_LOC"
Expand Down
4 changes: 2 additions & 2 deletions pkg/app/add_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package app

import (
"github.com/SimonBaeumer/cmd"
"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/SimonBaeumer/commander/pkg/suite"
"github.com/commander-cli/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/suite"
"gopkg.in/yaml.v2"
"strings"
)
Expand Down
6 changes: 3 additions & 3 deletions pkg/app/test_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"path"
"sync"

"github.com/SimonBaeumer/commander/pkg/output"
"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/SimonBaeumer/commander/pkg/suite"
"github.com/commander-cli/commander/pkg/output"
"github.com/commander-cli/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/suite"
)

// TestCommand executes the test argument
Expand Down
2 changes: 1 addition & 1 deletion pkg/output/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
run "runtime"
"time"

"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/runtime"
"github.com/logrusorgru/aurora"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/output/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"testing"

"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/runtime"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/runtime/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package runtime

import (
"fmt"
"github.com/SimonBaeumer/commander/pkg/matcher"
"github.com/commander-cli/commander/pkg/matcher"
"log"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/runtime/validator_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package runtime

import (
"github.com/SimonBaeumer/commander/pkg/matcher"
"github.com/commander-cli/commander/pkg/matcher"
"github.com/stretchr/testify/assert"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/suite/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package suite
import (
"fmt"

"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/runtime"
)

// Suite represents the current tests, nodes and configs.
Expand Down
2 changes: 1 addition & 1 deletion pkg/suite/suite_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package suite

import (
"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/runtime"
"github.com/stretchr/testify/assert"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/suite/yaml_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package suite

import (
"fmt"
"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/runtime"
"gopkg.in/yaml.v2"
"reflect"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion pkg/suite/yaml_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package suite

import (
"github.com/SimonBaeumer/commander/pkg/runtime"
"github.com/commander-cli/commander/pkg/runtime"
"github.com/stretchr/testify/assert"
"testing"
)
Expand Down

0 comments on commit f5a2bb8

Please sign in to comment.