AsciidocFX
AsciidocFX copied to clipboard
Install AsciidocFX from Homebrew
Homebrew is used in a lot of applications and specially Linuxbrew and it would be nice if we could do something like brew install asciidocfx to install this amazing tool.
If I have a Mac, I would like to do that :)
I have Linuxbrew installed and so far brew works great with Fedora ;)
@see: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/asciidocfx.rb
https://github.com/Homebrew/homebrew-cask
brew cask install asciidocfx
@barthel thanks for the contribution.
and we need the same for linuxbrew :))
The existing instructions are potentially incomplete. AsciidocFX is installed via a .dmg file and running brew install --cask asciidocfx at this time (as per the instructions) will result in a Gatekeeper warning because the application is from an untrusted source/developer.
As a result the installation fails:
$ brew install --cask asciidocfx
==> Downloading https://github.com/asciidocfx/AsciidocFX/releases/download/v1.8.4/AsciidocFX_Mac.dmg
Already downloaded: /Users/nigrott/Library/Caches/Homebrew/downloads/2383dd4a753372e3959dcfde9d35f3719cdc4a4ec2432b579be8f0b2a6edd7f8--AsciidocFX_Mac.dmg
==> Installing Cask asciidocfx
==> Running installer script 'AsciidocFX Installer.app/Contents/MacOS/JavaApplicationStub'
==> Purging files for version 1.8.4 of Cask asciidocfx
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env PATH=/usr/local/bin:/usr/local/sbin:/usr/local/Homebrew/Library/Homebrew/shims/shared:/usr/bin:/bin:/usr/sbin:/sbin /usr/local/Caskroom/asciidocfx/1.8.4/AsciidocFX\ Installer.app/Contents/MacOS/JavaApplicationStub -q` was terminated by uncaught signal KILL.
The workarounds I know are:
- fix the application signature to be conformant with Apple's guidelines
- use
brew install --cask asciidocfx --no-quarantine