diff --git a/Makefile b/Makefile index 06d9de3..db1dae0 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,8 @@ # make prune Removes stale links verbose ?= 2 +NS_CODE_EXTENSIONS := dbaeumer.vscode-eslint EditorConfig.EditorConfig faustinoaq.crystal-lang \ + naumovs.color-highlight PKief.material-icon-theme vscodevim.vim NS_REPO_PATH := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) NS_STOW_OPTIONS := --dir="${NS_REPO_PATH}" --target="${HOME}" --no-folding --verbose=${verbose} NS_STOW_PACKAGES := $(wildcard */) @@ -38,6 +40,10 @@ uninstall: prune: @$(call ${NS_STOW_COMMAND},R) +.PHONY: code-extensions +code-extensions: + @$(foreach extension,${NS_CODE_EXTENSIONS},code --install-extension ${extension} --force;) + .PHONY: enable-mpd enable-mpd: @systemctl --user enable --now mpd.service