Skip to content

Commit

Permalink
venv should go first
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Oct 15, 2024
1 parent 7308e6f commit 360df74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ build/debug/$(EXTENSION_FILENAME): target/debug/$(EXTENSION_LIB_FILENAME)
$(PYTHON_VENV_BIN) -c "import shutil;shutil.copyfile('target/debug/$(EXTENSION_FILENAME)', 'build/debug/$(EXTENSION_FILENAME)')"
$(PYTHON_VENV_BIN) -c "import shutil;shutil.copyfile('target/debug/$(EXTENSION_FILENAME)', 'build/debug/extension/$(EXTENSION_NAME)/$(EXTENSION_FILENAME)')"

debug: target/debug/$(EXTENSION_FILENAME) build/debug/$(EXTENSION_FILENAME) venv
debug: venv target/debug/$(EXTENSION_FILENAME) build/debug/$(EXTENSION_FILENAME)

# RELEASE build
target/release/$(EXTENSION_LIB_FILENAME): src/*
Expand All @@ -82,7 +82,7 @@ build/release/$(EXTENSION_FILENAME): target/release/$(EXTENSION_LIB_FILENAME)
$(PYTHON_VENV_BIN) -c "import shutil;shutil.copyfile('target/release/$(EXTENSION_FILENAME)', 'build/release/$(EXTENSION_FILENAME)')"
$(PYTHON_VENV_BIN) -c "import shutil;shutil.copyfile('target/release/$(EXTENSION_FILENAME)', 'build/release/extension/$(EXTENSION_NAME)/$(EXTENSION_FILENAME)')"

release: target/release/$(EXTENSION_FILENAME) build/release/$(EXTENSION_FILENAME) venv
release: venv target/release/$(EXTENSION_FILENAME) build/release/$(EXTENSION_FILENAME)

### Test options

Expand Down

0 comments on commit 360df74

Please sign in to comment.