Skip to content
Snippets Groups Projects
Commit f1e39404 authored by Max Melchert's avatar Max Melchert
Browse files

feat(makefile): add default target

parent ff3da146
Branches
No related tags found
No related merge requests found
...@@ -376,7 +376,9 @@ Für diesen Fall ist `COPY_LINKS_AS_FILES` auf `true` zu setzen. ...@@ -376,7 +376,9 @@ Für diesen Fall ist `COPY_LINKS_AS_FILES` auf `true` zu setzen.
> `make <target>` > `make <target>`
| Target | Aktion | Ort | | Target | Aktion | Ort |
| :--------- | :---------------------------------------- | :-------------: | | :--------- | :----------------------------------------- | :-------------: |
| `default` | Anpassbar für Fortgeschrittene | |
| `help` | Zeigt Kurzhilfe der Targets im Terminal an | Client |
| `install` | Installiert Python Environment und Pakete | Server | | `install` | Installiert Python Environment und Pakete | Server |
| `upload` | Läd veränderte Projektdateien hoch | Client → Server | | `upload` | Läd veränderte Projektdateien hoch | Client → Server |
| `run` | Führt Python Script aus | Server | | `run` | Führt Python Script aus | Server |
......
...@@ -39,7 +39,9 @@ RSYNC := rsync --archive --compress --progress $(if $(filter true,$(COPY_LINKS_A ...@@ -39,7 +39,9 @@ RSYNC := rsync --archive --compress --progress $(if $(filter true,$(COPY_LINKS_A
MAMBA := source $(SERVER_CONDA_PATH)/etc/profile.d/conda.sh && mamba MAMBA := source $(SERVER_CONDA_PATH)/etc/profile.d/conda.sh && mamba
CONDA := source $(SERVER_CONDA_PATH)/etc/profile.d/conda.sh && conda CONDA := source $(SERVER_CONDA_PATH)/etc/profile.d/conda.sh && conda
.PHONY: install upload run kill log download delete .PHONY: default help install upload run kill log download delete
default: help # customize, if you know what you're doing
help: # list targets and usage help: # list targets and usage
@awk '/^[a-zA-Z0-9_-]+:/{print $1}' makefile @awk '/^[a-zA-Z0-9_-]+:/{print $1}' makefile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment