aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/test/support/Casks/with-installer-script.rb
blob: 5e98eab48417901a7d3c88ca1e350ddb5b9f75b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
test_cask 'with-installer-script' do
  version '1.2.3'
  sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'

  url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
  homepage 'http://example.com/with-install-script'

  installer script: '/usr/bin/true',
            args:   ['--flag']
  # acceptable alternate form
  installer script: {
                      executable: '/usr/bin/false',
                      args:       ['--flag'],
                    }
end