Skip to content

Commit 0cdeb6d

Browse files
authored
Merge pull request #25 for v0.13.2 release
2 parents f26cb36 + 7ef6b60 commit 0cdeb6d

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
### News
1212

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

aah/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module aahframe.work/cli/aah
22

33
require (
4-
aahframe.work v0.12.0
4+
aahframe.work v0.12.1
55
github.com/radovskyb/watcher v0.0.0-20181027232338-25a66c5e3b26
66
github.com/stretchr/testify v1.2.2
77
)

aah/list.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ func listAction(c *console.Context) error {
6666
return nil
6767
}
6868

69-
cliLog.Info("No aah projects was found, you can create one with 'aah new'.")
69+
cliLog.Info("No aah projects was found.")
70+
cliLog.Info("You could create one with command 'aah new'.")
71+
cliLog.Info("or Run 'aah list --scan /base/dir/to/scan/aah-projects' to teach aah CLI\n about existing aah project locations.")
7072
return nil
7173
}

aah/project.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"encoding/json"
99
"errors"
1010
"fmt"
11-
"go/build"
1211
"os"
1312
"path/filepath"
1413
"sort"
@@ -91,13 +90,6 @@ func (inv *inventory) SortProjects() {
9190
sort.Slice(inv.Projects, func(i, j int) bool { return inv.Projects[i].Path < inv.Projects[j].Path })
9291
}
9392

94-
func createProjectInventory() {
95-
cliLog.Info("Creating aah projects inventory from GOPATH(s), its an one-time activity\n")
96-
for _, gp := range filepath.SplitList(build.Default.GOPATH) {
97-
scanProjects2Inventory(filepath.Join(gp, "src"))
98-
}
99-
}
100-
10193
func scanProjects2Inventory(baseDir string) {
10294
cliLog.Infof("Scanning aah projects on %s...\n", baseDir)
10395
_ = filepath.Walk(baseDir, func(path string, info os.FileInfo, err error) error {

aah/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
)
1919

2020
// Version no. of aah framework CLI tool
21-
var Version = "0.13.1"
21+
var Version = "0.13.2"
2222

2323
var (
2424
errVersionNotExists = errors.New("version not exists")

0 commit comments

Comments
 (0)