From 2a933d0eb811a52154cbae1b9e2516ccf060accd Mon Sep 17 00:00:00 2001 From: Murat Ambarkutuk <murata@vt.edu> Date: Sun, 24 Mar 2024 15:12:00 -0400 Subject: [PATCH] add build option to the makefile and change the workspace name --- Makefile | 8 ++- unsupervised-segmentation.code-workspace | 74 ++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 unsupervised-segmentation.code-workspace diff --git a/Makefile b/Makefile index b5279a6..b245ed0 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SHELL=/bin/bash env_file = .env include ${env_file} -.PHONY: clean up down restart stop reload ps logs logsf push env +.PHONY: build clean up down restart stop reload ps logs logsf push env all: reload @@ -10,7 +10,11 @@ default: all unsupervised-segmentation: docker exec -it $@ bash - + +build: + @echo "Starting to build" + docker-compose build + clean: pyclean prune up: diff --git a/unsupervised-segmentation.code-workspace b/unsupervised-segmentation.code-workspace new file mode 100644 index 0000000..898b479 --- /dev/null +++ b/unsupervised-segmentation.code-workspace @@ -0,0 +1,74 @@ +{ + "folders": [ + { + "path": "." + } + ], + "settings": { + "terminal.integrated.gpuAcceleration": "off", + "editor.wordWrap": "on", + "latex-workshop.latex.recipe.default": "lastUsed", + "latex-workshop.latex.autoBuild.run": "never", + "latex-workshop.latex.recipes": [ + { + "name": "magic ðŸŸ", + "tools": [ + "pdflatex", + "bibtex", + "pdflatex", + "makeglossaries", + // "makeindex", + "pdflatex" + ] + } + ], + "files.associations": { + "*.tikz": "latex", + "*.table": "latex", + "*.figure": "latex" + }, + "latex-workshop.latex.tools": [ + { + "name": "makeindex", + "command": "makeindex", + "args": [ + "%DOCFILE%.nlo", + "-s", + "nomencl.ist", + "-o", + "%DOCFILE%.nls" + ] + }, + { + "name": "pdflatex", + "command": "pdflatex", + "args": [ + "-synctex=1", + "-interaction=nonstopmode", + "-file-line-error", + "%DOC%" + ], + "env": {} + }, + { + "name": "bibtex", + "command": "bibtex", + "args": [ + "%DOCFILE%" + ], + "env": {} + }, + { + "name": "makeglossaries", + "command": "makeglossaries", + "args": [ + "%DOCFILE%" + ] + } + ], + }, + "tasks": { + "version": "2.0.0", + "tasks": [] + } +} -- GitLab