2018-11-08 19:53:55 +00:00
|
|
|
oil-link: oil.scm
|
|
|
|
if test -L oil-link; then unlink oil-link; fi
|
|
|
|
guix build --root=oil-link --file=oil.scm
|
|
|
|
|
|
|
|
oil: oil-link
|
|
|
|
rm -rf oil
|
|
|
|
cp -R -H oil-link "$@"
|
|
|
|
chmod -R u+w "$@"
|
|
|
|
|
|
|
|
oil/bin/geesh: oil
|
|
|
|
echo "#!/bin/sh" > "$@"
|
2018-11-25 07:24:11 +00:00
|
|
|
echo "$(abs_top_builddir)/pre-inst-env geesh "'"$$@"' >> "$@"
|
2018-11-08 19:53:55 +00:00
|
|
|
chmod a+x "$@"
|
|
|
|
|
|
|
|
check: oil/bin/geesh ;
|
|
|
|
|
|
|
|
TEST_EXTENSIONS = .sh
|
|
|
|
SH_LOG_COMPILER = ./check-spec
|
|
|
|
|
|
|
|
TESTS = \
|
2018-11-21 18:38:44 +00:00
|
|
|
oil/spec/case_.test.sh \
|
2018-11-21 19:58:49 +00:00
|
|
|
oil/spec/loop.test.sh \
|
2018-11-16 18:34:39 +00:00
|
|
|
oil/spec/quote.test.sh \
|
2018-11-15 19:40:09 +00:00
|
|
|
oil/spec/redirect.test.sh \
|
2018-11-11 02:21:47 +00:00
|
|
|
oil/spec/smoke.test.sh \
|
2018-11-16 18:53:43 +00:00
|
|
|
oil/spec/word-split.test.sh \
|
|
|
|
oil/spec/var-sub.test.sh
|
2018-11-08 19:53:55 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf oil
|
|
|
|
if test -L oil-link; then unlink oil-link; fi
|