forked from npryce/adr-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d036204
commit 89fdd97
Showing
6 changed files
with
22 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
build/ | ||
tests/adr-config.expected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 12 additions & 22 deletions
34
tests/adr-config.expected → tests/adr-config.expected.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,43 @@ | ||
adr config | ||
# This script returns the configuration values for adr-tools. It does not change these values. | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_template_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="__PWD__/src" | ||
|
||
adr config -q | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_template_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="__PWD__/src" | ||
|
||
adr config -q | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_template_dir="/usr/local/share/adr-tools" | ||
|
||
echo "adr_template_dir='/usr/local/share/adr-tools'" > ~/.adr-config | ||
echo "adr_template_dir='/usr/local/share/adr-tools'" >~/.adr-config | ||
adr config | ||
# This script returns the configuration values for adr-tools. It does not change these values. | ||
# Loading system values from /etc/adr-config | ||
# Loading global values from ~/.adr-config | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="/usr/local/share/adr-tools" | ||
|
||
adr config -q | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="/usr/local/share/adr-tools" | ||
|
||
mkdir -p doc/adr | ||
echo "adr_template_dir='/usr/local/share/adr-tools'" > doc/adr/.adr-config | ||
echo "adr_template_dir='/usr/local/share/adr-tools'" >doc/adr/.adr-config | ||
adr config | ||
# This script returns the configuration values for adr-tools. It does not change these values. | ||
# Loading system values from /etc/adr-config | ||
# Loading global values from ~/.adr-config | ||
# Loading local values from doc/adr/.adr-config | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_template_dir="/usr/local/share/adr-tools" | ||
|
||
adr config -q | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="/usr/local/share/adr-tools" | ||
|
||
adr config -q | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="/usr/local/share/adr-tools" | ||
|
||
rm ~/.adr-config | ||
adr config | ||
# This script returns the configuration values for adr-tools. It does not change these values. | ||
# Loading local values from doc/adr/.adr-config | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="/usr/local/share/adr-tools" | ||
|
||
adr config -q | ||
adr_bin_dir="/home/spriggsj/adr-tools-cp/src" | ||
adr_bin_dir="__PWD__/src" | ||
adr_template_dir="/usr/local/share/adr-tools" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters