Diff

mod_admin_web/README.markdown @ 4179:bcff0e8b7b4d

mod_admin_web: Include build instructions in metadata This should make it produce an installable luarock, and even fetch the dependencies on install.
author Kim Alvefur <zash@zash.se>
date Thu, 08 Oct 2020 12:20:48 +0200
parent 1803:4d73a1a6ba68
child 4181:fcc6b92869d4
line wrap: on
line diff
--- 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