aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
AgeCommit message (Collapse)Author
2019-06-16HomebrewFormula: Fix `:lion`/"10.7" `depends_on`HEADmasterTeddy Wing
Turns out we didn't solve the problem with the previous commit, as "10.7" still needs to be in Homebrew's `MacOS::Version::SYMBOLS` hash in order to be recognised. To work around this, depend on Lion if Homebrew provides it, otherwise display a message in the Caveats section about the minimum OS version.
2019-06-11HomebrewFormula: Change `:lion` to `"10.7"`Teddy Wing
I got this error recently: $ brew tap teddywing/formulae Updating Homebrew... ... ==> Tapping teddywing/formulae Cloning into '/usr/local/Homebrew/Library/Taps/teddywing/homebrew-formulae'... ... Error: Invalid formula: /usr/local/Homebrew/Library/Taps/teddywing/homebrew-formulae/HomebrewFormula/dome-key.rb dome-key: unknown version :lion Error: Cannot tap teddywing/formulae: invalid syntax in tap! Turns out `:lion` was removed as a Mac OS X version symbol from Homebrew: https://github.com/homebrew/brew/commit/1aa8ad09e212cd9cd2f3ae55f899ed4ef03ae4d0 Use a version string instead.
2018-11-22HomebrewFormula: Add `--reload-mappings` mention in CaveatsTeddy Wing
Instruct users to reload mappings if `dome-key` is running. This could happen if the install commands were copy-pasted from the website: $ brew install teddywing/DomeKey/dome-key $ brew services start teddywing/DomeKey/dome-key At this point, `dome-key` would already have been started, and the new mappings wouldn't be loaded into the running process. Also indent the shell commands to differentiate them from the text.
2018-11-22Add licenseTeddy Wing
2018-11-15pkg/dome-key.in.rb: Add description, homepage, and archive URLTeddy Wing
2018-11-15pkg/dome-key.in.rb: Install rule for `dome-key-mappings.7` man pageTeddy Wing
2018-11-15pkg/generate_homebrew_formula.py: Calculate SHA256 digest of archiveTeddy Wing
2018-11-15generate_homebrew_formula.py: Get versionTeddy Wing
Get the version from `main.m`.
2018-11-11pkg/dome-key.in.rb: Add the command to run if you don't use launchdTeddy Wing
Now that I think about it, a daemon would execute in the background, not take over the shell. But whatever, not going to change that now when I'm about to release the program.
2018-11-11pkg/dome-key.in.rb: Add sample config setup to Brew CaveatsTeddy Wing
Make it faster to try out the program by providing copy-pastable commands to get a sample config. `HOME` needs two `$` to escape it from the Python templater.
2018-11-02pkg/dome-key.in.rb: Set dependency on Mac OS X 10.7Teddy Wing
While the Objective-C/Cocoa code is designed to work on at least 10.6, the Rust code requires >=10.7, as something in Rust, maybe the standard library, requires at least that version of Mac OS.
2018-10-30Add a skeleton Homebrew formulaTeddy Wing
The start of a Homebrew formula for the program. Needs a bunch of fields filled out. For now, we're mostly getting it to work as an input template for an accompanying generator script. The script will fill in some values automatically, including the plist file, so that the launchd plist can be activated using Homebrew's services.
2018-10-30Add launchd plistTeddy Wing