2014-11-14 01:26:45 +08:00
|
|
|
cask :v1 => 'qlmarkdown' do
|
2014-08-23 10:16:40 +08:00
|
|
|
version '1.3.3'
|
|
|
|
sha256 '045712562665673924397bbbef1ee1157b44e23c9744feda6feda27e107802d3'
|
2014-06-27 08:01:38 +08:00
|
|
|
|
2014-09-26 20:09:08 +08:00
|
|
|
url "https://github.com/toland/qlmarkdown/releases/download/v#{version}/QLMarkdown.qlgenerator.zip"
|
2015-03-15 19:54:34 +08:00
|
|
|
appcast 'https://github.com/toland/qlmarkdown/releases.atom'
|
2015-01-30 04:42:51 +08:00
|
|
|
name 'QLMarkdown'
|
2014-06-27 08:01:38 +08:00
|
|
|
homepage 'https://github.com/toland/qlmarkdown'
|
2015-02-01 02:23:49 +08:00
|
|
|
license :bsd
|
2014-06-27 08:01:38 +08:00
|
|
|
|
2014-08-23 22:34:19 +08:00
|
|
|
# Fix broken zip file with no toplevel bundle directory. This was
|
|
|
|
# not needed for version 1.3.2. We could add an option to the main
|
|
|
|
# DSL to identify such containers and generate a target directory.
|
2014-10-03 22:42:41 +08:00
|
|
|
container :type => :naked
|
2014-09-09 20:55:28 +08:00
|
|
|
preflight do
|
2014-11-21 22:37:55 +08:00
|
|
|
system '/usr/bin/ditto', '-xk', '--', "#{staged_path}/QLMarkdown.qlgenerator.zip", "#{staged_path}/QLMarkdown.qlgenerator"
|
2014-08-23 22:34:19 +08:00
|
|
|
end
|
|
|
|
|
2014-05-12 13:00:13 +08:00
|
|
|
qlplugin 'QLMarkdown.qlgenerator'
|
2013-11-15 12:07:13 +08:00
|
|
|
end
|