Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"fmt"
"github.com/sirupsen/logrus"
logrus "github.com/sirupsen/logrus"
"gopkg.in/cheggaaa/pb.v1"
"os"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"github.com/graarh/golang-socketio"
"github.com/graarh/golang-socketio/transport"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
"gopkg.in/sorcix/irc.v2"
"net"
"net/url"
Expand Down
6 changes: 3 additions & 3 deletions data.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
// "io/ioutil"
"github.com/cavaliercoder/grab"
"github.com/cavaliergopher/grab/v3"
"gopkg.in/cheggaaa/pb.v1"
"net/url"
// "path/filepath"
Expand Down Expand Up @@ -73,7 +73,7 @@ func DownloadData() error {
defer t.Stop()

var bar *pb.ProgressBar
bar = pb.StartNew(int(resp.Size))
bar = pb.StartNew(int(resp.Size()))
bar.ShowTimeLeft = true
bar.SetUnits(pb.U_BYTES)
bar.Start()
Expand Down
6 changes: 3 additions & 3 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ export GOPATH=$HOME/go
cd ~/go/src/github.com/ximeraproject
git clone https://github.com/XimeraProject/xake.git
cd xake
go get .
go build .

go mod init
go mod tidy
go install .
```

That may not work, though, depending on your version of libgit2. To build libgit2 statically, you could instead follow the following recipe:
Expand Down
2 changes: 1 addition & 1 deletion files.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"
"github.com/PuerkitoBio/goquery"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
"github.com/stevenle/topsort"
"io"
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion find-repository-root.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"fmt"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
"path/filepath"
)

Expand Down
2 changes: 1 addition & 1 deletion frost.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"encoding/json"
"fmt"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
"io/ioutil"
"os"
"path/filepath"
Expand Down
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ package main
import (
"fmt"
"github.com/fatih/color"
prefixed "github.com/kisonecat/logrus-prefixed-formatter"
"github.com/sirupsen/logrus"
// prefixed "github.com/kisonecat/logrus-prefixed-formatter"
prefixed "github.com/AVENTER-UG/go-logrus-formatter"
logrus "github.com/sirupsen/logrus"
//"github.com/tcnksm/go-latest"
"github.com/urfave/cli"
"net/url"
Expand Down Expand Up @@ -33,7 +34,7 @@ func main() {

app.Name = "xake"
app.Usage = "a build tool (make) for Ximera"
app.Version = "0.9.4"
app.Version = "0.9.5"

// Check to see if this is the newest version Humorously,
// go-latest depends on go>=1.7 because that was when "context"
Expand Down
2 changes: 1 addition & 1 deletion name.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"
"github.com/briandowns/spinner"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
"net/url"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"github.com/fatih/color"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
"net/url"
"os"
"os/exec"
Expand Down
2 changes: 1 addition & 1 deletion ximera-version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"encoding/json"
"github.com/libgit2/git2go"
"github.com/libgit2/git2go/v34"
"net/http"
"os/exec"
"path/filepath"
Expand Down