Commit 595544ae authored by Paul Asmuth's avatar Paul Asmuth
Browse files

add homebrew to the installation instructions

parent a8c434ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ before_install:
  - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-get update -qq; fi
  - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-get install -y cmake libfreetype6-dev libharfbuzz-dev libfribidi-dev libcairo2-dev libfmt-dev; fi
  - if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew update; fi
  - if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install freetype harfbuzz fribidi cairo cppformat; fi
  - if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install freetype harfbuzz fribidi cairo cppformat clip; fi

script:
  - cmake .
+10 −2
Original line number Diff line number Diff line
@@ -73,8 +73,16 @@ A list of examples can be found on the [Examples](https://clip-lang.org/examples
page.


Building
--------
Installation
------------

### Using homebrew (macOS)

To install clip using homebrew, run the following command:

    $ brew install clip

### From source

To build clip, you need an up-to-date C++ compiler, cmake, fmtlib, libharfbuzz,
libfreetype and cairo. Run:
+8 −0
Original line number Diff line number Diff line
@@ -7,6 +7,14 @@ on your system.

You can find the complete [source code on Github](http://github.com/asmuth/clip)


### Install using homebrew (macOS)

To install clip using homebrew, run the following command:

    $ brew install clip


### Compile from source

To build clip, you need an up-to-date C++ compiler, cmake, libharfbuzz and