Skip to content

Commit d172396

Browse files
thaliaarchitonsky
authored andcommitted
Fix missing script .sh extensions; add Docker build notes
1 parent 650fd69 commit d172396

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dep:
44
docker build -t fira:latest .
55

66
build:
7-
docker run --rm -v ${PWD}:/opt fira:latest ./script/build
7+
docker run --rm -v ${PWD}:/opt fira:latest ./script/build.sh
88

99
package:
10-
./script/package
10+
./script/package.sh

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ Unicode coverage makes Fira Code a great choice for mathematical writing.
7272
| **CLion** (2016.2+, [instructions](https://github.com/tonsky/FiraCode/wiki/Intellij-products-instructions)) | **Monkey Studio IDE** |
7373
| **Cloud9** ([instructions](https://github.com/tonsky/FiraCode/wiki/Cloud9-Instructions)) | **UltraEdit** |
7474
| **Coda 2** |
75-
| **CodeLite** |
76-
| **CodeRunner** |
75+
| **CodeLite** |
76+
| **CodeRunner** |
7777
| **CotEditor** |
7878
| **Eclipse** |
7979
| **elementary Code** |
@@ -99,7 +99,7 @@ Unicode coverage makes Fira Code a great choice for mathematical writing.
9999
| **Notepad** (Windows) |
100100
| **Notepad++** (with a [workaround](https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2287#issuecomment-256638098)) |
101101
| **Notepad3** ([instructions](https://github.com/rizonesoft/Notepad3/issues/361#issuecomment-365977420))|
102-
| **Nova** |
102+
| **Nova** |
103103
| **PhpStorm** (2016.2+, [instructions](https://github.com/tonsky/FiraCode/wiki/Intellij-products-instructions)) |
104104
| **PyCharm** (2016.2+, [instructions](https://github.com/tonsky/FiraCode/wiki/Intellij-products-instructions)) |
105105
| **QOwnNotes** (21.16.6+) |
@@ -196,13 +196,23 @@ In case you want to alter FiraCode.glyphs and build OTF/TTF/WOFF files yourself,
196196

197197
```bash
198198
# install all required build tools
199-
./script/bootstrap
199+
./script/bootstrap_macos.sh
200200

201201
# build the font files
202-
./script/build
202+
./script/build.sh
203203

204204
# install OTFs to ~/Library/Fonts
205-
./script/install
205+
cp distr/otf/*.otf ~/Library/Fonts
206+
```
207+
208+
Alternatively, you can build Fira Code using Docker:
209+
210+
```bash
211+
# install dependencies in a container and build the font files
212+
make
213+
214+
# package the font files from dist/ into a zip
215+
make package
206216
```
207217

208218
### Credits

script/everything

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
cd "`dirname $0`/.."
33

44
./script/check_widths
5-
# ./script/build_ttf
6-
./script/build_variable
7-
./script/build_woff
8-
./script/build_woff2
9-
./script/package
5+
# ./script/build_ttf.sh
6+
./script/build_variable.sh
7+
./script/build_woff.sh
8+
./script/build_woff2.sh
9+
./script/package.sh

0 commit comments

Comments
 (0)