Dawid Dziurla 59ce122e90
dependency_collector: make resource dep available at test-time too
There are formulae that use resource blocks for stuff that is needed in
test blocks. If a resource is a `.zip` archive, one needs `unzip`
utility in `PATH` to extract it, but its only available at build-time,
so one observes an error like that for example:

```
==> brew test psftools --verbose
Testing psftools
==> Downloading https://www.zone38.net/font/pc8x8.zip
Already downloaded: /github/home/.cache/Homebrew/downloads/ea5f6a485687368ff5bc99e4cc43a49b06e081baa51a97ee6ddcd8d1b82d7963--pc8x8.zip
==> Verifying ea5f6a485687368ff5bc99e4cc43a49b06e081baa51a97ee6ddcd8d1b82d7963--pc8x8.zip checksum
unzip -o /github/home/.cache/Homebrew/downloads/ea5f6a485687368ff5bc99e4cc43a49b06e081baa51a97ee6ddcd8d1b82d7963--pc8x8.zip -d /tmp/d20200304-21389-ui0wr0
Error: psftools: failed
undefined method `shelljoin' for nil:NilClass
```

Of course this issue affects Linux the most, because of higher
probability that the system lacks `unzip` for example.

With this commit, all resource guessed dependencies should be available
at build and test time.
2020-03-04 22:49:54 +01:00
..
2020-02-11 07:56:15 +00:00
2019-12-11 16:36:23 +05:30
2019-10-18 15:33:28 +08:00
2020-02-28 14:57:28 -05:00
2020-02-24 13:07:46 -05:00
2020-02-16 14:17:57 -08:00
2019-11-22 09:10:29 +00:00
2018-11-12 05:01:33 +01:00
2019-08-19 16:12:34 +10:00
2019-10-11 09:34:43 +02:00
2019-08-19 16:12:34 +10:00
2019-08-19 16:12:34 +10:00
2020-02-19 11:24:12 +00:00
2019-08-19 16:12:34 +10:00
2020-02-05 20:22:21 +00:00
2020-02-28 14:57:28 -05:00