Kim Alvefur
f68336b96e
teal: Move into prosody namespace
2023-03-23 13:36:52 +01:00
Kim Alvefur
ffd1561c5e
tests: Make tests work with new namespace prefix
2023-03-17 17:07:47 +01:00
Kim Alvefur
d33f55156b
prosody.loader: Allow loading modules under 'prosody' namespace ( #1223 )
...
Actually `hg mv`-ing all the files is disruptive, basically breaking
everything from rebasing all my WIP draft commits to the package
building. So instead, what if we didn't and instead rewrote package
names as they are `require()`-d?
Debian packages produced by the Prosody are already installed into this
structure so much will Just Work if all require calls are updated.
2023-03-17 13:51:43 +01:00
Kim Alvefur
a885cc53fd
make: Install stanza watcher library (thanks Menel)
2022-04-13 16:53:19 +02:00
Matthew Wild
b47c7951d5
Merge config-updates+check-turn from timber
2022-03-04 16:33:41 +00:00
Kim Alvefur
7f254b0e72
make: Split up install targets to allow different subset
...
The prosody-trunk nightly packages currently use the Debian dh-lua
framework to install core/, net/ and util/ into Lua-versioned directory
trees, while plugins and executables should still be installed like
before.
2022-02-13 16:53:56 +01:00
Matthew Wild
fe56effa55
util.struct: Import Roberto 'struct' library v0.3
...
Downloaded from http://www.inf.puc-rio.br/~roberto/struct/
This is for compatibility with Lua 5.2 (and 5.1). Eventually we can replace
this with string.pack/string.unpack which are available in 5.3+.
2022-03-04 15:03:02 +00:00
Kim Alvefur
d8017615c7
util.jsonpointer: Resolve JSON Pointers per RFC 6901
2021-12-29 16:52:09 +01:00
Kim Alvefur
9b31c8175e
make: Add target for rebuilding from Teal sources
2021-12-29 16:51:13 +01:00
Kim Alvefur
f6de136dc4
make: Magic trick for teal-src/*.tl -> ./*.lua
2021-03-19 15:51:38 +01:00
Kim Alvefur
8cf1f8a901
make: Add target for building Teal sources
...
Compiled Lua targets included in parallel in order to not add a hard
dependency on Teal, at least not yet.
2021-03-09 13:59:45 +01:00
Kim Alvefur
5fd3895de5
make: Add way to run individual tests
2020-10-02 16:35:05 +02:00
Kim Alvefur
1deae0e925
GNUmakefile: Install the new util/prosodyctl/* too (thanks pascal.pascher)
2020-06-03 19:10:42 +02:00
Kim Alvefur
5fc5fe64ee
GNUmakefile: Install util.human.*
2020-06-03 19:01:46 +02:00
Kim Alvefur
6b98a3f551
mod_s2s: Move out of empty directory
...
mod_s2s.lua had been all alone in there since the removal of
s2sout.lib.lua in 756b8821007a
2020-06-02 19:43:50 +02:00
Maxime “pep” Buquet
b733d61de6
Prepare required data folder for integration tests
2019-09-12 15:17:12 +02:00
Kim Alvefur
df36d51cd7
GNUmakefile: Stop Prosody in case of failure in integration-test
...
Normally make skips the remaning steps in the rule if one fails. This
collects the status code and re-returns it after stopping the running
Prosody instance.
2019-01-24 05:48:55 +01:00
Kim Alvefur
45b1245e12
GNUmakefile: Add target for running scansion
2019-01-10 14:27:01 +01:00
Kim Alvefur
7f201d94c1
make coverage: Allow overriding path to busted
2018-10-03 16:41:37 +02:00
Matthew Wild
90e3e7c116
make lint: Add shellcheck of configure script
2018-10-01 15:35:53 +01:00
Matthew Wild
b6d632fafa
make lint: Fix 'ignored files' count
2018-10-01 15:26:51 +01:00
Kim Alvefur
4cdc9b1bd7
GNUmakefile: Tell Mercurial to behave consistenly
...
See `hg help environment.HGPLAIN`
2018-09-09 19:34:59 +02:00
Kim Alvefur
7cd756895e
GNUmakefile: Allow overriding path to busted
2018-09-09 19:23:52 +02:00
Kim Alvefur
b84cf60060
GNUmakefile: Allow overriding path to luacheck
2018-09-09 19:23:26 +02:00
Kim Alvefur
b2103694e0
Backed out changeset bf91de890107: It did not have the intended effectc
2018-05-23 01:29:17 +02:00
Kim Alvefur
20f0730255
GNUmakefile: Add a fallback for hg files
not working in linter target
2018-05-20 02:40:08 +02:00
Matthew Wild
49831eef8f
GNUmakefile: Add 'lint' target
2018-05-18 14:58:14 +01:00
Matthew Wild
0b917d28da
GNUMakefile: Add note about how to list coverage of individual files
2018-04-30 18:08:09 +01:00
Matthew Wild
1b96a40a13
GNUMakefile: Add 'coverage' target (requires luacov and luacov-console)
2018-03-17 09:31:57 +00:00
Kim Alvefur
e156c05ad4
Rename Makefile -> GNUmakefile to reflect dependency on GNU Make
2017-10-31 17:28:23 +01:00