summaryrefslogtreecommitdiff
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* tests/assert-*.sh: Reuse rebuilt assets for testsEuAndreh2023-11-131-0/+1
|
* tests/assert-uninstall.sh: Split from assert-install.shEuAndreh2023-11-131-3/+4
|
* Makefile: Clean directory symlink potential leftover before recreatingEuAndreh2023-11-131-0/+1
|
* src/{ircd,web}.js: Init stub serversEuAndreh2023-11-111-7/+30
|
* tests/js/: Run the files directlyEuAndreh2023-11-101-1/+1
| | | | | Instead of dynamically `import()`ing them in `tests/runner.js`, make each test file instead load `tests/runner.js` and run its own tests.
* tests/js/compat.js: Remove unused fileEuAndreh2023-11-101-1/+0
|
* Makefile: Remove $(JSIMPL) variableEuAndreh2023-11-101-4/+3
|
* tests/assert-clean.sh: Enforce correctness of "make clean"EuAndreh2023-11-101-0/+1
|
* Makefile: s/LIST/MAILING_LIST/EuAndreh2023-11-101-6/+6
|
* Makefile: Install code under $(SRCDIR)EuAndreh2023-11-101-0/+9
| | | | | So that later the package manager can run ctags on it and make them available for the user.
* tests/assert-install.sh: Always to enforce correct installationEuAndreh2023-11-101-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also in this change: - now we call ln(1) in the "install" target without using the -r "relative" flag, as it isn't POSIX; - add `+` as a prefix to the "assert-tests" command, so we tell sub-make calls to also run things in parallel. In this case, the "make DESTDIR=... install" calls; - use the implicit `index.js` entrypoint and do away completly with `package.json`; - change from `import` to `require` as Node.js ESM modules don't support `$NODE_PATH`[0]: "NODE_PATH is not part of resolving import specifiers. Please use symlinks if this behavior is desired." 🤦; The parallel sub-make behaviour isn't available in current specification of make (POSIX issue 7) but is included in the upcoming[1] version 8: > If a rule invokes a sub-make either via the MAKE macro or via a > command line that begins with '+', the sub-make is the same > implementation as the make that invoked the sub-make, and the −j > option is passed to the sub-make via the MAKEFLAGS environment > variable with the same maxjobs value and is not overridden by a > maxjobs value from another source (even if it has the same value), the > sub-make shall use the same token pool as its invoking make rather > than create a new token pool. [0]: https://nodejs.org/api/esm.html#no-node_path [1]: https://www.opengroup.org/austin/restricted/202x-d3/202x_d3.pdf
* tests/assert-deps.sh: Enforce Makefile is always up-to-dateEuAndreh2023-11-091-7/+13
|
* Setup correct project install and uninstallEuAndreh2023-11-091-3/+7
|
* Initial project structureEuAndreh2023-11-091-0/+134