archlinux: Add make yarnconfig target

Since ~/.yarnrc is an autogenerated file, we configure it through
the Makefile instead.
This commit is contained in:
Donovan Glover 2018-12-07 15:59:10 -05:00
parent 8ea57dabf5
commit 3d9a699812
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -29,6 +29,13 @@ fontconfig:
@sudo ln -sf /etc/fonts/conf.avail/10-sub-pixel-rgb.conf /etc/fonts/conf.d
@sudo ln -sf /etc/fonts/conf.avail/11-lcdfilter-default.conf /etc/fonts/conf.d
# 1. Always use emoji (best with the kitty terminal emulator)
# 2. Install global packages to /usr/local
.PHONY: yarnconfig
yarnconfig:
@yarn config set -- --emoji true
@yarn config set prefix /usr/local
.PHONY: clean
clean:
@rm -fv **/*.pkg.tar.xz