Commit d91893a12a3d6d40a50e609486f5694c7ad0ee8a
1 parent
43bb2cef16
Initial stuff. The tests fail, obviously.
Showing 5 changed files with 27 additions and 0 deletions Inline Diff
.gitignore
File was created | 1 | # Running tests creates this completion dump file. | |
2 | tests/.zcompdump | ||
3 | |||
4 | # Test failure reports | ||
5 | tests/*.t.err | ||
6 |
Makefile
File was created | 1 | .PHONY: tests itests | |
2 | |||
3 | tests: | ||
4 | ZDOTDIR="${PWD}/tests" cram --shell=zsh tests | ||
5 | |||
6 | itests: | ||
7 | cram -i --shell=zsh tests | ||
8 |
requirements.txt
File was created | 1 | # Published version of cram v0.5 does not have the --shell option. | |
2 | https://bitbucket.org/brodie/cram/get/8f15beaf3a8d.tar.bz2 | ||
3 |
tests/.zshenv
File was created | 1 | # zshrc file written for antigen's tests. Might not be a good one for daily use. | |
2 | |||
3 | # See cram's documentation for some of the variables used below. | ||
4 | |||
5 | export ANTIGEN_REPO_CACHE="$TMP/dot-antigen/cache" | ||
6 | export ANTIGEN_BUNDLE_DIR="$TMP/dot-antigen/bundle" | ||
7 | |||
8 | rm "$TESTDIR/.zcompdump" | ||
9 | |||
10 | source "$TESTDIR/../antigen.zsh" | ||
11 |
tests/main.t
File was created | 1 | Load antigen | |
2 | |||
3 | $ bundle-cleanup | ||
4 |