Skip to content

Commit

Permalink
tweaks to makefile - order, excluded some stuff from dev zip [sc-134006]
Browse files Browse the repository at this point in the history
  • Loading branch information
liamlynch-data committed May 3, 2023
1 parent dbcc095 commit f3aec1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ last_commit_id=`git rev-parse HEAD`

.DEFAULT_GOAL := plugin

dist-clean:
rm -rf dist

plugin: dist-clean
@echo "[START] Archiving plugin to dist/ folder..."
@cat plugin.json | json_pp > /dev/null
Expand All @@ -27,7 +24,7 @@ dev: dist-clean
@echo "[START] Archiving plugin to dist/ folder... (dev mode)"
@cat plugin.json | json_pp > /dev/null
@mkdir dist
@zip -v -9 dist/${archive_file_name} -r . --exclude "tests/*" "env/*"
@zip -v -9 dist/${archive_file_name} -r . --exclude "tests/*" "env/*" ".git/*" ".pytest_cache/*"
@echo "[SUCCESS] Archiving plugin to dist/ folder: Done!"

unit-tests:
Expand Down Expand Up @@ -60,3 +57,6 @@ integration-tests:
)

tests: unit-tests integration-tests

dist-clean:
rm -rf dist

0 comments on commit f3aec1c

Please sign in to comment.