Skip to content

Instantly share code, notes, and snippets.



Last active Jun 13, 2020
What would you like to do?
Mac custom-build of Iosevka with Pragmata-like features
#!/bin/sh -e
if [ -d "$DIR" ]; then
(cd $DIR && git pull)
git clone --depth 1 $DIR
cd "$DIR"
cat <<EOF > Brewfile
brew "npm"
brew "ttfautohint"
tap "caryll/tap"
brew "otfcc-mac64"
brew bundle install
brew bundle exec -- npm install
brew bundle exec -- make custom-config design='term ss08 ligset-haskell'
brew bundle exec -- make custom
cp dist/iosevka-custom/ttf/*.ttf ~/Library/Fonts/

This comment has been minimized.

Copy link

@shanbhardwaj shanbhardwaj commented Jul 25, 2017

brew bundle exec -- make custom-config design='ss08 ligset-haskell' is throwing the following error

node maker.js --custom custom --design 'ss08 ligset-haskell' --upright 'normal' --italic 'normal' --oblique 'normal' --pre
style 'nothing' > build/                                                                                
    throw err;

Error: Cannot find module 'yargs'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/shan/projects/External/iosevka/maker.js:3:14)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
make: *** [custom-config] Error 1


This comment has been minimized.

Copy link
Owner Author

@purcell purcell commented Jul 26, 2017

Ugh, no idea about that, sorry @shanbhardwaj. I ran this script on a fresh machine earlier this week with no problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.