mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
55ff07e428
commit
c1ea3edddd
1 changed files with 27 additions and 24 deletions
|
@ -23,9 +23,9 @@ build:
|
||||||
- mv props/config.mak .
|
- mv props/config.mak .
|
||||||
|
|
||||||
- ./configure
|
- ./configure
|
||||||
--prefix={{ prefix }}
|
--prefix={{ prefix }}
|
||||||
--with-perl={{ deps.perl.org.prefix }}
|
--with-perl={{ deps.perl.org.prefix }}
|
||||||
--with-gitconfig=etc/gitconfig
|
--with-gitconfig=etc/gitconfig
|
||||||
|
|
||||||
- make install --jobs {{ hw.concurrency }} NO_TCLTK=1
|
- make install --jobs {{ hw.concurrency }} NO_TCLTK=1
|
||||||
|
|
||||||
|
@ -59,36 +59,39 @@ build:
|
||||||
INSTALL_STRIP: -s
|
INSTALL_STRIP: -s
|
||||||
|
|
||||||
test:
|
test:
|
||||||
# bug in pkgx where it doesn’t auto sync for --provides
|
dependencies:
|
||||||
- pkgx --sync
|
pkgx.sh: ^1
|
||||||
|
script:
|
||||||
|
# bug in pkgx where it doesn’t auto sync for --provides
|
||||||
|
- pkgx --sync
|
||||||
|
|
||||||
# check that the templates can be found
|
# check that the templates can be found
|
||||||
- run: |
|
- run: |
|
||||||
git clone https://github.com/teaxyz/white-paper 2>&1 | tee clone-output.txt
|
git clone https://github.com/teaxyz/white-paper 2>&1 | tee clone-output.txt
|
||||||
if grep -q 'warning: templates not found in' clone-output.txt; then
|
if grep -q 'warning: templates not found in' clone-output.txt; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
working-directory: $(mktemp -d)
|
working-directory: $(mktemp -d)
|
||||||
|
|
||||||
- cd $(mktemp -d)
|
- cd $(mktemp -d)
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
touch .DS_Store testfile
|
touch .DS_Store testfile
|
||||||
git init
|
git init
|
||||||
git add .
|
git add .
|
||||||
test "$(git diff --name-only --cached)" = "testfile"
|
test "$(git diff --name-only --cached)" = "testfile"
|
||||||
|
|
||||||
# necessary so `git commit` will work
|
# necessary so `git commit` will work
|
||||||
- |
|
- |
|
||||||
git config user.email "you@example.com"
|
git config user.email "you@example.com"
|
||||||
git config user.name "Your Name"
|
git config user.name "Your Name"
|
||||||
|
|
||||||
# necessary to check the libexec binaries work
|
# necessary to check the libexec binaries work
|
||||||
- git commit --message "test"
|
- git commit --message "test"
|
||||||
|
|
||||||
- git subtree add --prefix teaxyz-subtree https://github.com/teaxyz/white-paper main --squash
|
- git subtree add --prefix teaxyz-subtree https://github.com/teaxyz/white-paper main --squash
|
||||||
|
|
||||||
- git gone --version
|
- git gone --version
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
linux:
|
linux:
|
||||||
|
|
Loading…
Reference in a new issue