Skip to content

Instantly share code, notes, and snippets.

@purcell purcell/iosevka
Last active Aug 17, 2017

Embed
What would you like to do?
Mac custom-build of Iosevka with Pragmata-like features
#!/bin/sh -e
# https://github.com/be5invis/Iosevka#build-your-own-style
DIR=~/Projects/External/iosevka
if [ -d "$DIR" ]; then
(cd $DIR && git pull)
else
git clone --depth 1 https://github.com/be5invis/Iosevka $DIR
fi
cd "$DIR"
cat <<EOF > Brewfile
brew "npm"
brew "ttfautohint"
tap "caryll/tap"
brew "otfcc-mac64"
EOF
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/
@shanbhardwaj

This comment has been minimized.

Copy link

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/targets-custom.mk                                                                                
module.js:487
    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

@purcell

This comment has been minimized.

Copy link
Owner Author

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.