summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--Cargo.lock2
-rw-r--r--Cargo.toml2
-rw-r--r--Makefile19
-rw-r--r--README.md15
5 files changed, 24 insertions, 18 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3167dda..8ff71c5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
-<!-- The latest version contains all changes. -->
+The latest version contains all changes.
+
+## [0.5.0] - 2020-09-02
### Added
diff --git a/Cargo.lock b/Cargo.lock
index d0910db..4743a25 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -178,7 +178,7 @@ dependencies = [
[[package]]
name = "gfold"
-version = "0.4.0"
+version = "0.5.0"
dependencies = [
"git2",
"prettytable-rs",
diff --git a/Cargo.toml b/Cargo.toml
index 33d7bbb..5b6e174 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "gfold"
-version = "0.4.0"
+version = "0.5.0"
authors = ["Nick Gerace <nickagerace@gmail.com>"]
edition = "2018"
diff --git a/Makefile b/Makefile
index 9e606fa..32419d8 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
MAKEPATH:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
NAME:=gfold
-VERSION:=0.4.0
+VERSION:=0.5.0
run:
@cd $(MAKEPATH); cargo run -- ..
@@ -39,12 +39,6 @@ test:
tree:
cd $(MAKEPATH); cargo tree
-prepare-release:
- @printf "Change version at the following locations...\n"
- @printf " Makefile\n README.md\n main.rs\n"
- @printf "Then, run the following command...\n"
- @printf " time make build-release\n"
-
tag:
cd $(MAKEPATH); git tag $(VERSION)
cd $(MAKEPATH); git push --tags origin master
@@ -56,3 +50,14 @@ fixme:
--exclude=CHANGELOG.md \
--color=always \
FIXME $(MAKEPATH)
+
+release:
+ @printf "Change version at the following locations...\n"
+ @printf " Makefile: $(shell grep $(VERSION) $(MAKEPATH)/Makefile)\n"
+ @printf " README.md: $(shell grep $(VERSION) $(MAKEPATH)/README.md)\n"
+ @printf " CHANGELOG.md: $(shell grep $(VERSION) $(MAKEPATH)/CHANGELOG.md)\n"
+ @printf " Cargo.toml: $(shell grep $(VERSION) $(MAKEPATH)/Cargo.toml)\n"
+ @printf "Uncomment the unreleased string in CHANGELOG.md...\n"
+ @printf " <!--The latest version contains all changes.-->\n"
+ @printf "Then, run the following command...\n"
+ @printf " time make build-release\n"
diff --git a/README.md b/README.md
index c83e433..c54cd26 100644
--- a/README.md
+++ b/README.md
@@ -18,16 +18,13 @@ voi clean main https://github.com/earth/voi.git
## Description and Motivation
-This app displays relevant information for multiple Git repositories in one directory or folder.
-It prints each repository in alphabetical order, and pads each result based on the longest directory name.
+This app displays relevant information for multiple Git repositories in one, or multiple, directories.
+While this tool might seem limited in scope and purpose, that is by design.
+It prints each repository in alphabetical order, and pads each result based on the longest directory, branch, and status string.
By default, ```gfold``` looks at every Git repository in the current working directory.
However, if you would like to target another directory, you can pass that path (relative or absolute) as the first argument.
-While this tool might seem limited in scope and purpose, that is by design.
-Features, such as recursive search and async-await support, are future goals.
-This application aims to do one or few things well.
-
## Installation
There are multiple ways to install ```gfold```, but here are the recommended methods.
@@ -47,12 +44,12 @@ Special thanks to [orhun](https://github.com/orhun) for [maintaining](https://gi
You can build from source with ```cargo``` by executing the following...
```bash
-cargo install --git https://github.com/nickgerace/gfold --tag 0.4.0
+cargo install --git https://github.com/nickgerace/gfold --tag 0.5.0
```
## Usage
-There's only two usage options at the moment (CWD or specified path), but you can use the ```--help``` flag for more details.
+For all the ways on how to use this application, pass in the ```--help``` flag.
```bash
gfold --help
@@ -66,6 +63,8 @@ gfold ..
gfold $HOME
gfold /this/is/an/absolute/path
gfold ../../this/is/a/relative/path
+gfold ~/repositories/ -r
+gfold -r $HOME/repositories
```
## Compatibility