Skip to content

Commit

Permalink
Switch to a submodule for harfbuzz.
Browse files Browse the repository at this point in the history
This simplifies updating as well as reducing the amount of churn
in this repo when updating.
  • Loading branch information
waywardmonkeys committed Aug 24, 2023
1 parent c778eca commit 3c7872f
Show file tree
Hide file tree
Showing 3,017 changed files with 35 additions and 463,054 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: install harfbuzz from apt
run: |
Expand All @@ -37,6 +39,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -64,6 +68,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: install harfbuzz from homebrew
run: |
Expand Down Expand Up @@ -91,6 +97,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -114,6 +122,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -132,6 +142,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: true

- uses: mymindstorm/setup-emsdk@v12
with:
Expand All @@ -151,6 +163,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "harfbuzz-sys/harfbuzz"]
path = harfbuzz-sys/harfbuzz
url = https://github.com/harfbuzz/harfbuzz
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
## rust-harfbuzz
# rust-harfbuzz

[![Build Status](https://github.com/servo/rust-harfbuzz/actions/workflows/main.yml/badge.svg)](https://github.com/servo/rust-harfbuzz/actions)

[Documentation](https://docs.rs/harfbuzz-sys)

Bindings to the HarfBuzz text shaping engine.

## Vendored Harfbuzz Sources

This repository contains a vendored copy of the `harfbuzz` sources
as a git submodule. If building with the `bundled` feature, be sure
to initialize submodules:

```
git clone --recursive https://github.com/servo/rust-harfbuzz.git
```

Or, after a clone:

```
git submodule update --init
```
1 change: 1 addition & 0 deletions harfbuzz-sys/harfbuzz
Submodule harfbuzz added at 7236c7
14 changes: 0 additions & 14 deletions harfbuzz-sys/harfbuzz/AUTHORS

This file was deleted.

27 changes: 0 additions & 27 deletions harfbuzz-sys/harfbuzz/BUILD.md

This file was deleted.

Loading

0 comments on commit 3c7872f

Please sign in to comment.