mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
fix git template directory (#106)
* failing test * pass proper template directory in the env
This commit is contained in:
parent
ab5c410cfa
commit
c0af519e55
1 changed files with 10 additions and 1 deletions
|
@ -11,6 +11,10 @@ dependencies:
|
||||||
curl.se: '>=5'
|
curl.se: '>=5'
|
||||||
perl.org: '*'
|
perl.org: '*'
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
env:
|
||||||
|
GIT_TEMPLATE_DIR: '{{prefix}}/share/git-core/templates'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
|
@ -38,7 +42,12 @@ build:
|
||||||
INSTALL_STRIP: -s
|
INSTALL_STRIP: -s
|
||||||
|
|
||||||
test: |
|
test: |
|
||||||
git clone https://github.com/teaxyz/white-paper
|
git clone https://github.com/teaxyz/white-paper 2>&1 | tee clone-output.txt
|
||||||
|
|
||||||
|
# check that the templates can be found
|
||||||
|
if grep -q 'warning: templates not found in' clone-output.txt; then
|
||||||
|
false
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir foo
|
mkdir foo
|
||||||
cd foo
|
cd foo
|
||||||
|
|
Loading…
Reference in a new issue