ide/Makefile
Joao P Dubas feda9d1de1 feat: upgrade runtimes (#250)
Upgrade runtimes:

* `aqua:CircleCI-Public/circleci-cli`: from 0.1.32367 to 0.1.32580
* `aqua:astral-sh/uv`: from 0.7.13 to 0.7.14
* `aqua:aws/aws-cli`: from 2.27.40 to 2.27.41
* `aqua:pnpm/pnpm`: from 10.12.1 to 10.12.2
* `pipx:vectorcode`: from 0.7.0 to 0.7.1
* `ubi:sst/opencode`: from 0.1.117 to 0.1.124

Added runtimes:

* `ubi:comtrya/comtrya`

Also, added `Makefile` target to compare host and repository's `mcphub` configuration .

Reviewed-on: #250
Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
2025-06-24 00:18:32 +00:00

34 lines
1.4 KiB
Makefile

root_dir := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
neovim_patch_file := $(root_dir)/patch/kickstart.nvim/updates.patch
neovim_config_dir := $(XDG_CONFIG_HOME)/nvim
.DEFAULT_GOAL = help
.PHONY: apply_patch_init_lua
apply_patch_init_lua: ## apply the patch file in kickstart's init.lua file
@cd $(neovim_config_dir) && git apply $(neovim_patch_file)
.PHONY: patch_init_lua
patch_init_lua: ## create a patch file with the changes made in kickstart's init.lua file
@cd $(neovim_config_dir) && git diff --patch init.lua > $(neovim_patch_file)
.PHONY: patch_init_lua_dry_run
patch_init_lua_dry_run: ## show the changes made in kickstart's init.lua file
@cd $(neovim_config_dir) && git diff --patch init.lua
.PHONY: diff_mcphub_config
diff_mcphub_config: ## compare host's mcphub config with repository's config
@nvim -d ~/.config/mcphub/servers.json ./config/mcphub/servers.json
.PHONY: diff_mise_config
diff_mise_config: ## compare host's mise config with repository's config
@nvim -d ~/.config/mise/config.toml ./config/mise/config.toml
.PHONY: diff_custom_neovim_config
diff_custom_neovim_config: ## compare host's custom neovim config with repository's config
@nvim -d ~/.config/nvim/lua/custom/plugins/init.lua ./config/nvim/lua/custom/plugins/init.lua
.PHONY: help
help: ## show help message
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'