/
JaneZhibit
/
2026-1--study--mathmod
Обзор
Документация
Войти
/
JaneZhibit
/
2026-1--study--mathmod
Код
Запросы
0
Задачи
Пакеты
0
Релизы
2
Аналитика
Безопасность
develop
Makefile
27 строк
1021 B
JaneZhibit
Initial commit
12 фев 2026, 14:50
Верифицирован
12 фев 2026, 14:50
92e6e07
Код
Авторство
О чём код?
SHELL := /bin/bash COURSE = .PHONY: all clean all: help help: @echo 'Usage:' @echo ' make <target>' @echo @echo 'Targets:' @grep -E '^[a-zA-Z_0-9.-]+:.*?##.*$$' $(MAKEFILE_LIST) | grep -v '###' | sort | cut -d: -f1- | awk 'BEGIN {FS = ":.*?##"}; {printf " \033[36m%-30s\033[0m %s\n", $$1, $$2}' @grep -E '^###.*' $(MAKEFILE_LIST) | cut -d' ' -f2- | awk 'BEGIN {FS = "###"}; {printf "%s\n", $$1, $$2}' @grep -E '^[a-zA-Z_0-9.-]+:.*?###.*$$' $(MAKEFILE_LIST) | sort | cut -d: -f2- | awk 'BEGIN {FS = ":.*?###"}; {printf " \033[36m%-30s\033[0m %s\n", $$1, $$2}' @echo list: ## List of courses @. ./template/config/script/list-courses prepare: ## Generate directories structure @. ./template/config/script/prepare @touch prepare submodule: ## Update submules git submodule update --init --recursive git submodule foreach 'git fetch origin; git checkout $$(git rev-parse --abbrev-ref HEAD); git reset --hard origin/$$(git rev-parse --abbrev-ref HEAD); git submodule update --recursive; git clean -dfx'