Merge branch 'main' into prerelease
This commit is contained in:
commit
ccb5652eac
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ To build Iosevka you should:
|
||||||
1. Install [`nodejs`](http://nodejs.org) (≥ 18.0.0) and [`ttfautohint`](http://www.freetype.org/ttfautohint/). Make sure that they are accessible from [`PATH` environment variable](https://en.wikipedia.org/wiki/PATH_(variable)).
|
1. Install [`nodejs`](http://nodejs.org) (≥ 18.0.0) and [`ttfautohint`](http://www.freetype.org/ttfautohint/). Make sure that they are accessible from [`PATH` environment variable](https://en.wikipedia.org/wiki/PATH_(variable)).
|
||||||
2. Open a CLI shell in a terminal, [`cd`](https://en.wikipedia.org/wiki/Cd_(command)) into the directory containing Iosevka source code.
|
2. Open a CLI shell in a terminal, [`cd`](https://en.wikipedia.org/wiki/Cd_(command)) into the directory containing Iosevka source code.
|
||||||
3. Run `npm install`. This command will install **all** the NPM dependencies.
|
3. Run `npm install`. This command will install **all** the NPM dependencies.
|
||||||
4. Run `npm run build -- contents::iosevka`. This command will build your fonts.
|
4. Run `npm run build -- contents::Iosevka`. This command will build your fonts.
|
||||||
|
|
||||||
You will find TTFs, as well as WOFF(2) web fonts and one Webfont CSS in the `dist/` directory.
|
You will find TTFs, as well as WOFF(2) web fonts and one Webfont CSS in the `dist/` directory.
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ export default (async function (out, archiveFiles) {
|
||||||
const filesToAnalyze = Array.from(new Set(archiveFiles.map(f => f.full))).sort();
|
const filesToAnalyze = Array.from(new Set(archiveFiles.map(f => f.full))).sort();
|
||||||
let s = "";
|
let s = "";
|
||||||
for (const file of filesToAnalyze) {
|
for (const file of filesToAnalyze) {
|
||||||
s += `${await hashFile(file)}\t${file.name}\n`;
|
s += `${await hashFile(file)}\t${path.basename(file.full)}\n`;
|
||||||
}
|
}
|
||||||
await fs.promises.writeFile(out, s);
|
await fs.promises.writeFile(out, s);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue