Skip to content

Commit

Permalink
Update README-mac.md [skip ci] (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
groverlynn authored Nov 5, 2023
1 parent e42851c commit af3d4a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README-mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ These dependencies include a few compiled (non-header-only) Boost libraries.

``` sh
cd librime
make xcode/deps/boost
bash install-boost.sh
```

The make script will download Boost source tarball, extract it to
Expand Down Expand Up @@ -82,7 +82,7 @@ Required third-party libraries other than Boost are included as git submodules:
# if you didn't checked out the submodules with git clone --recursive, now do:
# git submodule update --init

make xcode/deps
make deps
```

This builds libraries located at `librime/deps/*`, and installs the build
Expand All @@ -91,33 +91,33 @@ artifacts to `librime/include`, `librime/lib` and `librime/bin`.
You can also build an individual library, eg. `opencc`, with:

``` sh
make xcode/deps/opencc
make deps/opencc
```

## Build librime

``` sh
make xcode
make
```
This creates `build/lib/Release/librime*.dylib` and command line tools
`build/bin/Release/rime_*`.

Or, create a debug build:

``` sh
make xcode/debug
make debug
```

## Run unit tests

``` sh
make xcode/test
make test
```

Or, test the debug build:

``` sh
make xcode/test-debug
make test-debug
```

## Try it in the console
Expand Down

0 comments on commit af3d4a7

Please sign in to comment.