diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-01-06 19:12:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-06 19:12:30 +0000 |
commit | dfc30eeef5eb6df9f658e62875e5cde93173e37b (patch) | |
tree | f538afd1462a0bda8dc31061e824f37743253742 | |
parent | 873771fa59a69b0f949edc73531fc6809f6f82e4 (diff) | |
download | alacritty-dfc30eeef5eb6df9f658e62875e5cde93173e37b.tar.gz alacritty-dfc30eeef5eb6df9f658e62875e5cde93173e37b.zip |
Set minimum macOS version to 10.11
To make sure that CI builds produced by Travis work on all supported
versions of macOS and building Alacritty works on all supported
versions, the minimum macOS version has been set in the Makefile.
This sets the minimum macOS version to `10.11` as a reasonable
estimation based on other applications. If the exact version chosen
turns out to cause some issues, it can be changed in the future.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | Makefile | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d8f4680d..21a97e55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - URLs are only launched when left-clicking - Removal of extra characters (like `,`) at the end of URLs has been improved - Single quotes (`'`) are removed from URLs when there is no matching opening quote +- Precompiled binaries now work with macOS versions before 10.13 (10.11 and above) ## Version 0.2.4 @@ -8,8 +8,6 @@ APP_DIR = $(RELEASE_DIR)/osx APP_BINARY = $(RELEASE_DIR)/$(TARGET) APP_BINARY_DIR = $(APP_DIR)/$(APP_NAME)/Contents/MacOS -export MACOSX_DEPLOYMENT_TARGET = $(shell defaults read loginwindow SystemVersionStampAsString) - DMG_NAME = Alacritty.dmg DMG_DIR = $(RELEASE_DIR)/osx @@ -24,10 +22,7 @@ help: ## Prints help for targets with comments binary: | $(TARGET) ## Build release binary with cargo $(TARGET): -ifneq ( "${MACOSX_DEPLOYMENT_TARGET}" , "") - @echo MACOSX_DEPLOYMENT_TARGET=$${MACOSX_DEPLOYMENT_TARGET} -endif - cargo build --release + MACOSX_DEPLOYMENT_TARGET="10.11" cargo build --release app: | $(APP_NAME) ## Clone Alacritty.app template and mount binary $(APP_NAME): $(TARGET) $(APP_TEMPLATE) |