1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-02 16:43:02 +00:00

Add a test-install target to the Makefile

This target will be used to check if an installation
of Janet is on the PATH, if native modules can be built
and used via the cook module, etc.
This commit is contained in:
Calvin Rose
2019-03-03 14:48:17 -05:00
parent 8cc2c964c1
commit 172261b89f
5 changed files with 56 additions and 0 deletions

View File

@@ -239,6 +239,9 @@ install: $(JANET_TARGET)
mkdir -p $(MANPATH)
cp janet.1 $(MANPATH)
test-install:
cd test/install && janet test
uninstall:
-rm $(BINDIR)/../$(JANET_TARGET)
-rm -rf $(INCLUDEDIR)