From 80b3c3a75d17b8fae161c34bf8005ae28f7a4a79 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Mon, 5 Dec 2022 19:14:59 +0100 Subject: [PATCH] tools: move hecat configuration to .hecat/ subdirectory --- .hecat.awesome_lint.yml => .hecat/awesome-lint.yml | 0 .hecat.export.yml => .hecat/export.yml | 0 .hecat.import.yml => .hecat/import.yml | 0 .hecat.update_metadata.yml => .hecat/update-metadata.yml | 0 Makefile | 8 ++++---- 5 files changed, 4 insertions(+), 4 deletions(-) rename .hecat.awesome_lint.yml => .hecat/awesome-lint.yml (100%) rename .hecat.export.yml => .hecat/export.yml (100%) rename .hecat.import.yml => .hecat/import.yml (100%) rename .hecat.update_metadata.yml => .hecat/update-metadata.yml (100%) diff --git a/.hecat.awesome_lint.yml b/.hecat/awesome-lint.yml similarity index 100% rename from .hecat.awesome_lint.yml rename to .hecat/awesome-lint.yml diff --git a/.hecat.export.yml b/.hecat/export.yml similarity index 100% rename from .hecat.export.yml rename to .hecat/export.yml diff --git a/.hecat.import.yml b/.hecat/import.yml similarity index 100% rename from .hecat.import.yml rename to .hecat/import.yml diff --git a/.hecat.update_metadata.yml b/.hecat/update-metadata.yml similarity index 100% rename from .hecat.update_metadata.yml rename to .hecat/update-metadata.yml diff --git a/Makefile b/Makefile index 8e5074e82c..4ea8db3267 100644 --- a/Makefile +++ b/Makefile @@ -15,23 +15,23 @@ import: install rm -rf tags/ software/ platforms/ mkdir -p tags/ software/ platforms/ source .venv/bin/activate && \ - hecat --config .hecat.import.yml + hecat --config .hecat/import.yml .PHONY: update_metadata # update metadata from project repositories/API update_metadata: install source .venv/bin/activate && \ - hecat --config .hecat.update_metadata.yml + hecat --config .hecat/update-metadata.yml .PHONY: awesome_lint # check data against awesome-selfhosted guidelines awesome_lint: install source .venv/bin/activate && \ - hecat --config .hecat.awesome_lint.yml + hecat --config .hecat/awesome-lint.yml .PHONY: export # export markdown singlepage document from yaml data export: install rm -rf awesome-selfhosted && git clone https://github.com/awesome-selfhosted/awesome-selfhosted source .venv/bin/activate && \ - hecat --config .hecat.export.yml + hecat --config .hecat/export.yml cd awesome-selfhosted && git diff --color=always .PHONY: help # generate list of targets with descriptions