From a405d999249a33ba4c7c02fd30f372c61eff5251 Mon Sep 17 00:00:00 2001 From: wassp Date: Sun, 20 Apr 2025 18:09:01 +0200 Subject: [PATCH] feat: Add C configuration to `dev` qube - also fix the submodule --- salt/dev/install-c-tools.sls | 30 ++++++++++++++++++++++++++++++ salt/dev/install.sls | 1 - salt/dotfiles | 2 +- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 salt/dev/install-c-tools.sls diff --git a/salt/dev/install-c-tools.sls b/salt/dev/install-c-tools.sls new file mode 100644 index 0000000..924969e --- /dev/null +++ b/salt/dev/install-c-tools.sls @@ -0,0 +1,30 @@ +{# +SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. + +SPDX-License-Identifier: AGPL-3.0-or-later +#} + +{% if grains['nodename'] != 'dom0' -%} + +include: + - utils.tools.common.update + +"{{ slsdotpath }}-installed-python-tools": + pkg.installed: + - require: + - sls: utils.tools.common.update + - install_recommends: False + - skip_suggestions: True + - setopt: "install_weak_deps=False" + - pkgs: + - clangd + - clang-tidy + - cmake + - cscope + - cppcheck + - ddd + - gdb + - manpages-dev + - universal-ctags + +{% endif %} diff --git a/salt/dev/install.sls b/salt/dev/install.sls index d5e5ee8..5392541 100644 --- a/salt/dev/install.sls +++ b/salt/dev/install.sls @@ -32,7 +32,6 @@ include: - bash-completion ## Reading documentation - man-db - - manpages-dev - info - texinfo ## Searching files diff --git a/salt/dotfiles b/salt/dotfiles index d4579c8..4b77635 160000 --- a/salt/dotfiles +++ b/salt/dotfiles @@ -1 +1 @@ -Subproject commit d4579c8d0bf2c1505f9a7efc099533c6d11bce52 +Subproject commit 4b77635c44e15313586822be4c6cb6832c0ef3c7