summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-10-02 12:07:13 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-10-02 12:07:13 -0500
commit8a7a88ef8ce62b203554e797589529bea0988e72 (patch)
tree4f63c84df1a975da6dd492a951503e6919a8bda5
parente29693add634955c9eabdcc7de91ac6a0e600857 (diff)
downloadlua4win-dist-lua-8a7a88ef8ce62b203554e797589529bea0988e72.tar.gz
lua4win-dist-lua-8a7a88ef8ce62b203554e797589529bea0988e72.tar.bz2
lua4win-dist-lua-8a7a88ef8ce62b203554e797589529bea0988e72.zip
Allow images to be exported
-rw-r--r--meta.lua7
-rwxr-xr-xtest2
2 files changed, 4 insertions, 5 deletions
diff --git a/meta.lua b/meta.lua
index 6b717d6..8368e3f 100644
--- a/meta.lua
+++ b/meta.lua
@@ -17,9 +17,8 @@ build["lua4win-dist-lua-test"] = {
17 requires = { 17 requires = {
18 {"cicd", "lua4win-dist-lua:lua4win.msi"} 18 {"cicd", "lua4win-dist-lua:lua4win.msi"}
19 }, 19 },
20 produces = {}, 20 produces = {
21 ["images.tar.gz"] = true
22 },
21} 23}
22for i = 1,6 do
23 build["lua4win-dist-lua-test"].produces[i .. ".png"] = true
24end
25return build 24return build
diff --git a/test b/test
index bd03643..b63035e 100755
--- a/test
+++ b/test
@@ -25,5 +25,5 @@ DISPLAY=:99 xwd -root | magick xwd:- png:/root/6.png
25DISPLAY=:99 xdotool click 1 25DISPLAY=:99 xdotool click 1
26sleep 1 26sleep 1
27DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png 27DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png
28exit -1 28tar -czf images.tar.gz *.png
29 29