Skip to content

Commit f0cd474

Browse files
committed
remove env
1 parent 3914d02 commit f0cd474

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

Makefile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ CSV_SIZE_REPORT := csv_size_report.py
1313
.PHONY: all env install get_public_bi_schemas reformat_csvs csv_size_report clean
1414

1515
# Default: load env, create venv, and run schema extraction
16-
all: env install get_public_bi_schemas
17-
18-
# Load FASTLANES_DATA_DIR and other env vars
19-
env:
20-
@echo "Loading environment variables from $(ENV_SCRIPT)..."
21-
. $(CURDIR)/$(ENV_SCRIPT)
16+
all: install get_public_bi_schemas
2217

2318
# Set up (if needed) and install into virtual environment
2419
install:
@@ -36,19 +31,19 @@ install:
3631
fi
3732

3833
# Run the BI schema extraction script
39-
get_public_bi_schemas: install env
34+
get_public_bi_schemas: install
4035
@echo "Extracting public BI schemas..."
4136
cd scripts && . ../$(VENV_DIR)/bin/activate && $(PYTHON) $(SCRIPT)
4237

4338
# Re-format all CSV files under NextiaJD
44-
reformat_csvs: install env
39+
reformat_csvs: install
4540
@echo "Re-formatting all CSV files under NextiaJD..."
4641
. $(VENV_DIR)/bin/activate && \
4742
$(PYTHON) scripts/$(REFORMAT) $(FASTLANES_DATA_DIR)/NextiaJD
4843

4944
# --------------------------------------------------------------------
5045
# New target: run the CSV‐size report script and save to csv_sizes_report.csv
51-
csv_size_report: install env
46+
csv_size_report: install
5247
@echo "Generating CSV size report..."
5348
. $(VENV_DIR)/bin/activate && \
5449
$(PYTHON) scripts/$(CSV_SIZE_REPORT) > csv_sizes_report.csv

0 commit comments

Comments
 (0)