Skip to content

Commit

Permalink
refactor: make commands in order
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramimashkouk committed Feb 16, 2024
1 parent 59fccc1 commit 4a1bd80
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ SHELL = /bin/bash

PYTHON = python3
FRONTEND_PATH = ./df_designer_front
BACKEND_DIR = df_designer

.PHONY: help
help:
Expand Down Expand Up @@ -52,11 +53,11 @@ build_backend: env_backend

.PHONY: run_backend
run_backend: env_backend
poetry run python -m df_designer run-app --cmd-to-run="ping ya.ru" --conf-reload="False"
poetry run python -m ${BACKEND_DIR} run-app --cmd-to-run="ping ya.ru" --conf-reload="False"

.PHONY: run_dev_backend
run_dev_backend: env_backend
poetry run python -m df_designer run-app --cmd-to-run="ping ya.ru"
poetry run python -m ${BACKEND_DIR} run-app --cmd-to-run="ping ya.ru"



Expand All @@ -67,6 +68,16 @@ env:
make env_frontend
make env_backend

.PHONY: clean_env
clean_env:
make clean_env_frontend
make clean_env_backend

.PHONY: build
build: env
make build_frontend
make build_backend

.PHONY: run_app
run_app: env
make run_frontend
Expand All @@ -77,17 +88,6 @@ run_dev: env
make run_dev_frontend
make run_dev_backend

.PHONY: build
build: env
make build_frontend
make build_backend # build wheel

.PHONY: clean
clean:
make clean_env_frontend
make clean_env_backend




# Все команды ниже нужно дописать для фронта и бэка
Expand Down

0 comments on commit 4a1bd80

Please sign in to comment.