Skip to content

Commit

Permalink
remove: unnecessary reset-dummy-data make command
Browse files Browse the repository at this point in the history
  • Loading branch information
aricma committed Jan 14, 2024
1 parent 2ccd94b commit 9331a67
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# --- constants ----------------------------------------------------------------

static_folder_name = .static
tasks_dummy_data_file_path = ./dummy_data/tasks_dummy_data.json
path_to_task_dummy_data = ./dummy_data

# --- shortcuts ----------------------------------------------------------------
Expand All @@ -12,7 +11,7 @@ dev: build server

build: reset statics dummy-data

new-dummy-data: reset-dummy-data dummy-data
new-dummy-data: dummy-data

dummy-data:
poetry run python dummy_data/make_random_tasks.py
Expand Down Expand Up @@ -59,14 +58,11 @@ all-data-files: $(static_folder_name)

# --- reset repo ---------------------------------------------------------------

reset: reset-statics reset-dummy-data
reset: reset-statics

reset-statics:
rm -rf $(static_folder_name)

reset-dummy-data:
rm -rf $(tasks_dummy_data_file_path)

# --- functions ----------------------------------------------------------------

# "build" will run the given 1 and pipe the stdout of 1 into 2 if 1 finishes without errors
Expand Down

0 comments on commit 9331a67

Please sign in to comment.