X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=Makefile;h=06e67c9ce119df61296797db8ebdf2357eeec1a8;hb=9207e710019fadd4d9c4c91240df8ee1fbe3f997;hp=e2eca7f1dc13fcfa01fcf5c0a4344801272cdccc;hpb=a14deb1f4521c0dd3a1e062c521ba71c54bafc75;p=prosody.git diff --git a/Makefile b/Makefile index e2eca7f1..06e67c9c 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodin install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util install -m755 ./prosody.install $(BIN)/prosody install -m755 ./prosodyctl.install $(BIN)/prosodyctl - install -m644 core/* $(SOURCE)/core + install -m644 core/*.lua $(SOURCE)/core install -m644 net/*.lua $(SOURCE)/net install -d $(SOURCE)/net/http $(SOURCE)/net/websocket install -m644 net/http/*.lua $(SOURCE)/net/http @@ -52,6 +52,10 @@ clean: rm -f prosody.version $(MAKE) clean -C util-src +test: + cd tests && $(RUNWITH) test.lua 0 + # Skipping: cd tests && RUNWITH=$(RUNWITH) ./test_util_json.sh + util/%.so: $(MAKE) install -C util-src