diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 12:07:13 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-02 12:07:13 -0500 |
| commit | 8a7a88ef8ce62b203554e797589529bea0988e72 (patch) | |
| tree | 4f63c84df1a975da6dd492a951503e6919a8bda5 | |
| parent | e29693add634955c9eabdcc7de91ac6a0e600857 (diff) | |
| download | lua4win-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.lua | 7 | ||||
| -rwxr-xr-x | test | 2 |
2 files changed, 4 insertions, 5 deletions
| @@ -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 | } |
| 22 | for i = 1,6 do | ||
| 23 | build["lua4win-dist-lua-test"].produces[i .. ".png"] = true | ||
| 24 | end | ||
| 25 | return build | 24 | return build |
| @@ -25,5 +25,5 @@ DISPLAY=:99 xwd -root | magick xwd:- png:/root/6.png | |||
| 25 | DISPLAY=:99 xdotool click 1 | 25 | DISPLAY=:99 xdotool click 1 |
| 26 | sleep 1 | 26 | sleep 1 |
| 27 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png | 27 | DISPLAY=:99 xwd -root | magick xwd:- png:/root/7.png |
| 28 | exit -1 | 28 | tar -czf images.tar.gz *.png |
| 29 | 29 | ||
