Skip to content

Commit

Permalink
added job to makefile to create tester Downloads dir and correspondin…
Browse files Browse the repository at this point in the history
…g job in yml
  • Loading branch information
WD-Scott committed Aug 10, 2024
1 parent 99e1f13 commit 9ff3e88
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ jobs:
- name: build app
run: |
make build_exe
make create_downloads
- name: build app
run: |
make build_exe
5 changes: 5 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ build_exe: remove_pathlib
@# Check if running on macOS and perform actions accordingly
@uname | grep -q 'Darwin' && mv dist/Downloads_Cleaner.app . && rm -rf build dist Downloads_Cleaner.spec || echo "Skipping macOS specific commands"

# Job to create Downloads dir for testing and add various tester files
create_downloads:
@mkdir -p Downloads
@bash -c "touch Downloads/tester.png Downloads/tester.py Downloads/tester.pdf Downloads/tester.mp4 Downloads/tester.mp3"

# Job to run tests
.PHONY: test
test:
Expand Down

0 comments on commit 9ff3e88

Please sign in to comment.