Merge branch 'main' into prerelease

This commit is contained in:
be5invis 2024-02-24 11:22:56 -08:00
commit ccb5652eac
2 changed files with 2 additions and 2 deletions

View file

@ -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)).
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.
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.

View file

@ -24,7 +24,7 @@ export default (async function (out, archiveFiles) {
const filesToAnalyze = Array.from(new Set(archiveFiles.map(f => f.full))).sort();
let s = "";
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);
});