mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 04:30:57 +01:00
moving to codeberg
This commit is contained in:
@@ -38,7 +38,7 @@ ifdef HAVE_LINT
|
||||
endif
|
||||
|
||||
buildlocal:
|
||||
go build -ldflags "-X 'github.com/tlinden/ephemerup/upctl/cfg.VERSION=$(VERSION)'"
|
||||
go build -ldflags "-X 'codeberg.org/scip/ephemerup/upctl/cfg.VERSION=$(VERSION)'"
|
||||
|
||||
release:
|
||||
./mkrel.sh $(tool) $(version)
|
||||
@@ -56,7 +56,7 @@ test:
|
||||
|
||||
singletest:
|
||||
@echo "Call like this: ''make singletest TEST=TestX1 MOD=lib"
|
||||
go test -run $(TEST) github.com/tlinden/upctl/$(MOD)
|
||||
go test -run $(TEST) codeberg.org/scip/upctl/$(MOD)
|
||||
|
||||
cover-report:
|
||||
go test ./... -cover -coverprofile=coverage.out
|
||||
|
||||
@@ -20,9 +20,9 @@ import (
|
||||
//"errors"
|
||||
"errors"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/tlinden/ephemerup/common"
|
||||
"github.com/tlinden/ephemerup/upctl/cfg"
|
||||
"github.com/tlinden/ephemerup/upctl/lib"
|
||||
"codeberg.org/scip/ephemerup/common"
|
||||
"codeberg.org/scip/ephemerup/upctl/cfg"
|
||||
"codeberg.org/scip/ephemerup/upctl/lib"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ package cmd
|
||||
import (
|
||||
"errors"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/tlinden/ephemerup/common"
|
||||
"github.com/tlinden/ephemerup/upctl/cfg"
|
||||
"github.com/tlinden/ephemerup/upctl/lib"
|
||||
"codeberg.org/scip/ephemerup/common"
|
||||
"codeberg.org/scip/ephemerup/upctl/cfg"
|
||||
"codeberg.org/scip/ephemerup/upctl/lib"
|
||||
"os"
|
||||
)
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/spf13/pflag"
|
||||
"github.com/spf13/viper"
|
||||
"github.com/tlinden/ephemerup/upctl/cfg"
|
||||
"codeberg.org/scip/ephemerup/upctl/cfg"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module github.com/tlinden/ephemerup/upctl
|
||||
module codeberg.org/scip/ephemerup/upctl
|
||||
|
||||
go 1.18
|
||||
|
||||
@@ -10,7 +10,7 @@ require (
|
||||
github.com/spf13/cobra v1.6.1
|
||||
github.com/spf13/pflag v1.0.5
|
||||
github.com/spf13/viper v1.15.0
|
||||
github.com/tlinden/ephemerup/common v0.0.0-00010101000000-000000000000
|
||||
codeberg.org/scip/ephemerup/common v0.0.0-00010101000000-000000000000
|
||||
)
|
||||
|
||||
require (
|
||||
@@ -51,4 +51,4 @@ require (
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
||||
|
||||
replace github.com/tlinden/ephemerup/common => ../common
|
||||
replace codeberg.org/scip/ephemerup/common => ../common
|
||||
|
||||
@@ -24,8 +24,8 @@ import (
|
||||
"github.com/imroc/req/v3"
|
||||
"github.com/jarcoal/httpmock"
|
||||
"github.com/schollz/progressbar/v3"
|
||||
"github.com/tlinden/ephemerup/common"
|
||||
"github.com/tlinden/ephemerup/upctl/cfg"
|
||||
"codeberg.org/scip/ephemerup/common"
|
||||
"codeberg.org/scip/ephemerup/upctl/cfg"
|
||||
"io"
|
||||
"mime"
|
||||
"os"
|
||||
|
||||
@@ -21,8 +21,8 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/jarcoal/httpmock"
|
||||
"github.com/tlinden/ephemerup/common"
|
||||
"github.com/tlinden/ephemerup/upctl/cfg"
|
||||
"codeberg.org/scip/ephemerup/common"
|
||||
"codeberg.org/scip/ephemerup/upctl/cfg"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
//"github.com/alecthomas/repr"
|
||||
"github.com/imroc/req/v3"
|
||||
"github.com/olekukonko/tablewriter"
|
||||
"github.com/tlinden/ephemerup/common"
|
||||
"codeberg.org/scip/ephemerup/common"
|
||||
"io"
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/tlinden/ephemerup/upctl/cmd"
|
||||
"codeberg.org/scip/ephemerup/upctl/cmd"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user