mod_admin_web: Include build instructions in metadata
This should make it produce an installable luarock, and even fetch the
dependencies on install.
--- a/mod_admin_web/README.markdown Wed Oct 07 15:42:30 2020 +0100
+++ b/mod_admin_web/README.markdown Thu Oct 08 12:20:48 2020 +0200
@@ -2,6 +2,15 @@
labels:
- 'Stage-Beta'
summary: Web administration interface
+rockspec:
+ build:
+ platforms:
+ unix:
+ copy_directories:
+ - admin_web/www_files
+ type: command
+ build_command: sh admin_web/get_deps.sh
+ install_command: cp admin_web/mod_admin_web.lua $(LUADIR)
...
Introduction