question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DITA-OT Homebrew formula for macOS

See original GitHub issue

✨ Sean Molenaar (@SMillerDev) has successfully submitted a dita-ot formula to Homebrew with https://github.com/Homebrew/homebrew-core/pull/28762, which allows users to install DITA-OT on macOS via this popular package manager.

The brew formula excludes the Windows batch files (which are useless on macOS) and the legacy startcmd scripts, but is otherwise identical to the original distribution package.

When the package is installed via brew install dita-ot, Homebrew automatically downloads the latest version of the toolkit, installs it in a subfolder of the local package Cellar and symlinks the dita command to /usr/local/bin/dita.

To ensure the formula is kept up-to-date with each DITA-OT release, the core team of @dita-ot/developers should consider updating the formula as part of the release process.

Opening this issue to capture discussion and suggestions, including:

  • how to best maintain this formula
  • any changes we’d like to make to ensure the formula works like the default distribution package
  • how to best promote the new installation option

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
jelovirtcommented, Aug 28, 2018
  1. Should the formula retain startcmd.sh in case users rely on it?

IMO no.

  1. Should the formula set the $DITA_HOME environment variable?

We if you use dita CLI, you don’t need to override DITA_HOME. So IMO no.

1reaction
infotexturecommented, Oct 3, 2018
  • Although other Windows batch files are removed, config/env.bat currently remains and should also be excluded in the next version of the formula.
Read more comments on GitHub >

github_iconTop Results From Across the Web

dita-ot - Homebrew Formulae
brew install dita-ot. DITA Open Toolkit is an implementation of the OASIS DITA specification. https://www.dita-ot.org/. License: Apache-2.0. Formula JSON ...
Read more >
Installing DITA-OT via Homebrew
An alternative installation method can be used to install DITA-OT via Homebrew, one of the most popular open-source package managers on macOS and...
Read more >
"Installing DITA-OT on macOS via Homebrew ... - YouTube
A new alternative installation method can now be used to install DITA-OT on macOS via the platform's most popular open-source package ...
Read more >
How to detect a platform in a Homebrew formula?
I have a cross-platform Swift tool that I'd like to make available both on macOS and Linux through ...
Read more >
CDO formula in Homebrew (OS X)
RE: CDO formula in Homebrew (OS X) - Added by Luiz Irber over 10 years ago. Hello,. made a new commit for version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found