Skip to content

Commit 3552a2e

Browse files
Switch to a submodule for harfbuzz. (#205)
This simplifies updating as well as reducing the amount of churn in this repo when updating.
1 parent ba107cd commit 3552a2e

File tree

3,017 files changed

+35
-463054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,017 files changed

+35
-463054
lines changed

.github/workflows/main.yml

+14
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18+
with:
19+
submodules: true
1820

1921
- name: install harfbuzz from apt
2022
run: |
@@ -37,6 +39,8 @@ jobs:
3739
runs-on: ubuntu-latest
3840
steps:
3941
- uses: actions/checkout@v3
42+
with:
43+
submodules: true
4044

4145
- name: Install stable toolchain
4246
uses: dtolnay/rust-toolchain@stable
@@ -64,6 +68,8 @@ jobs:
6468

6569
steps:
6670
- uses: actions/checkout@v3
71+
with:
72+
submodules: true
6773

6874
- name: install harfbuzz from homebrew
6975
run: |
@@ -91,6 +97,8 @@ jobs:
9197

9298
steps:
9399
- uses: actions/checkout@v3
100+
with:
101+
submodules: true
94102

95103
- name: Install stable toolchain
96104
uses: dtolnay/rust-toolchain@stable
@@ -114,6 +122,8 @@ jobs:
114122

115123
steps:
116124
- uses: actions/checkout@v3
125+
with:
126+
submodules: true
117127

118128
- name: Install stable toolchain
119129
uses: dtolnay/rust-toolchain@stable
@@ -132,6 +142,8 @@ jobs:
132142

133143
steps:
134144
- uses: actions/checkout@v3
145+
with:
146+
submodules: true
135147

136148
- uses: mymindstorm/setup-emsdk@v12
137149
with:
@@ -151,6 +163,8 @@ jobs:
151163

152164
steps:
153165
- uses: actions/checkout@v3
166+
with:
167+
submodules: true
154168

155169
- name: Install stable toolchain
156170
uses: dtolnay/rust-toolchain@stable

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "harfbuzz-sys/harfbuzz"]
2+
path = harfbuzz-sys/harfbuzz
3+
url = https://github.com/harfbuzz/harfbuzz

README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
1-
## rust-harfbuzz
1+
# rust-harfbuzz
22

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

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

77
Bindings to the HarfBuzz text shaping engine.
8+
9+
## Vendored Harfbuzz Sources
10+
11+
This repository contains a vendored copy of the `harfbuzz` sources
12+
as a git submodule. If building with the `bundled` feature, be sure
13+
to initialize submodules:
14+
15+
```
16+
git clone --recursive https://github.com/servo/rust-harfbuzz.git
17+
```
18+
19+
Or, after a clone:
20+
21+
```
22+
git submodule update --init
23+
```

harfbuzz-sys/harfbuzz

Submodule harfbuzz added at 7236c7e

harfbuzz-sys/harfbuzz/AUTHORS

-14
This file was deleted.

harfbuzz-sys/harfbuzz/BUILD.md

-27
This file was deleted.

0 commit comments

Comments
 (0)