conradwt / ghc-macos-installer

GHC macOS Installer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GHC macOS Installer

The purpose of this is to build a GHC macOS Installer to demonstrate how to code sign, package, and notarize an application.

GHC macOS Installer was originally created and influenced by Kosala Sananthana's tool at KosalaHerath/macos-installer-builder.

Requirements

  • macOS 10.15.6 or greater

  • Xcode 11.6 or greater

Installation, Setup, and Usage

  1. Download and decompress a recent GHC version

    wget https://downloads.haskell.org/~ghc/<X.Y.Z>/ghc-<X.Y.Z>-x86_64-apple-darwin.tar.xz
    gunzip -dc ghc-<X.Y.Z>-x86_64-apple-darwin.tar.xz | tar xf -

    e.g.

    wget https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-apple-darwin.tar.xz
    gunzip -dc ghc-8.10.2-x86_64-apple-darwin.tar.xz | tar xf -
  2. Download the installer

    git clone https://github.com/conradwt/ghc-macos-installer
  3. Copy files to macOS Installer application directory

    cp -r /path/to/ghc-<X.Y.Z>/* /path/to/ghc-macos-installer/macOS-x64/application

    e.g.

    cp -r /path/to/ghc-8.10.2/* /path/to/ghc-macos-installer/macOS-x64/application
  4. Run installer

    cd /path/to/ghc-macos-installer
    ./build-macos-x64.sh <product> <version>

    e.g.

    ./build-macos-x64.sh ghc 8.10.2

References

Support

Bug reports and feature requests can be filed for the cassandra-example-using-rails project here:

Contributors

  • Conrad Taylor (@conradwt)

  • Kosala Sananthana (@KosalaHerath)

License

This repository is released un the MIT License

Copyright

© Copyright 2020 Conrad Taylor. All Rights Reserved.

About

GHC macOS Installer

License:MIT License


Languages

Language:Shell 82.8%Language:HTML 17.2%