8c1d38fe12
replace jgm/djot submodule with jgm/djot.js that contains newer tests
16 lines
386 B
Makefile
16 lines
386 B
Makefile
.POSIX:
|
|
|
|
.PHONY: suite
|
|
suite:
|
|
git submodule update --init modules/djot.js
|
|
for f in $$(find modules/djot.js/test -name '*.test' | xargs basename -a); do \
|
|
ln -fs ../../modules/djot.js/test/$$f tests/suite/$$f; \
|
|
done
|
|
(cd tests/suite && make)
|
|
cargo test --features suite
|
|
|
|
clean:
|
|
cargo clean
|
|
git submodule deinit -f --all
|
|
rm -f tests/suite/*.test
|
|
(cd tests/suite && make clean)
|