Skip to content

Commit

Permalink
Merge pull request #25 for v0.13.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm authored Dec 8, 2018
2 parents f26cb36 + 7ef6b60 commit 0cdeb6d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

### News

* `v0.13.1` [released](https://github.com/go-aah/tools/releases/tag/v0.13.1) and tagged on Dec 04, 2018.
* `v0.13.2` [released](https://github.com/go-aah/tools/releases/tag/v0.13.2) and tagged on Dec 07, 2018.
* `v0.13.0` [released](https://github.com/go-aah/tools/releases/tag/v0.13.0) and tagged on Dec 02, 2018.
* `v0.12.2` [released](https://github.com/go-aah/tools/releases/tag/v0.12.2) and tagged on Jul 20, 2018.

Expand Down
2 changes: 1 addition & 1 deletion aah/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module aahframe.work/cli/aah

require (
aahframe.work v0.12.0
aahframe.work v0.12.1
github.com/radovskyb/watcher v0.0.0-20181027232338-25a66c5e3b26
github.com/stretchr/testify v1.2.2
)
4 changes: 3 additions & 1 deletion aah/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ func listAction(c *console.Context) error {
return nil
}

cliLog.Info("No aah projects was found, you can create one with 'aah new'.")
cliLog.Info("No aah projects was found.")
cliLog.Info("You could create one with command 'aah new'.")
cliLog.Info("or Run 'aah list --scan /base/dir/to/scan/aah-projects' to teach aah CLI\n about existing aah project locations.")
return nil
}
8 changes: 0 additions & 8 deletions aah/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"encoding/json"
"errors"
"fmt"
"go/build"
"os"
"path/filepath"
"sort"
Expand Down Expand Up @@ -91,13 +90,6 @@ func (inv *inventory) SortProjects() {
sort.Slice(inv.Projects, func(i, j int) bool { return inv.Projects[i].Path < inv.Projects[j].Path })
}

func createProjectInventory() {
cliLog.Info("Creating aah projects inventory from GOPATH(s), its an one-time activity\n")
for _, gp := range filepath.SplitList(build.Default.GOPATH) {
scanProjects2Inventory(filepath.Join(gp, "src"))
}
}

func scanProjects2Inventory(baseDir string) {
cliLog.Infof("Scanning aah projects on %s...\n", baseDir)
_ = filepath.Walk(baseDir, func(path string, info os.FileInfo, err error) error {
Expand Down
2 changes: 1 addition & 1 deletion aah/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
)

// Version no. of aah framework CLI tool
var Version = "0.13.1"
var Version = "0.13.2"

var (
errVersionNotExists = errors.New("version not exists")
Expand Down

0 comments on commit 0cdeb6d

Please sign in to comment.