forked from mokevnin/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 1.15 KB
/
Makefile
File metadata and controls
36 lines (26 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ANSIBLE_PREFIX := docker run -v $(HOME):/host/home -v $(CURDIR):/dotfiles -w /dotfiles williamyeh/ansible:ubuntu18.04 ansible-playbook -i local -vv
all: nvim-install dotfiles-install
TAGS := all
dotfiles-install:
# $(ANSIBLE_PREFIX) dotfiles.yml
docker run --rm -e RUNNER_PLAYBOOK=dotfiles.yml -v $(HOME):/host/home -v $(CURDIR):/runner/project ansible/ansible-runner
nvim-install:
mkdir -p ~/.config/nvim
ln -s $(PWD)/files/vimrc ~/.config/nvim/init.vim | true
ln -s $(PWD)/files/coc-settings.json ~/.config/nvim/coc-settings.json | true
macos-prepare:
brew install the_silver_searcher fzf bat htop fd ncdu tldr httpie
deps: deps-gem deps-composer deps-npm deps-pip
deps-pip:
pip2 install --upgrade pynvim
pip3 install --upgrade pynvim
deps-gem:
gem install solargraph rubocop neovim
gem install rubocop-rspec rubocop-rails rubocop-performance
deps-composer:
composer global require "squizlabs/php_codesniffer=*"
deps-npm:
npm install -g neovim
npm install -g prettier eslint babel-eslint eslint-plugin-import eslint-plugin-node
npx install-peerdeps -g eslint-config-airbnb
npm install -g stylelint stylelint-config-recommended stylelint-config-standard