Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unwanted files not being removed after build #170

Merged
merged 1 commit into from
Jul 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build configuration
SHELL = /bin/bash
SHELL = /bin/zsh
OPENFOAM_VERSION = 2212
APP_NAME = OpenFOAM-v$(OPENFOAM_VERSION)
OPENFOAM_TARBALL_URL = https://dl.openfoam.com/source/v$(OPENFOAM_VERSION)/OpenFOAM-v$(OPENFOAM_VERSION).tgz
Expand Down Expand Up @@ -117,8 +117,8 @@ build/$(APP_NAME).app/Contents/Resources/$(APP_NAME).dmg: build/$(APP_NAME)-buil
rm -rf $(VOLUME)/homebrew
[ ! -L $(VOLUME)/usr ] || rm $(VOLUME)/usr
rm -rf $(VOLUME)/build
rm -rf $(VOLUME)/**/.git
rm -f $(VOLUME)/**/.DS_Store
rm -rf -- $(VOLUME)/**/.git(N)
rm -f -- $(VOLUME)/**/.DS_Store(N)
ifeq ($(DEPENDENCIES_KIND),standalone)
rm $(VOLUME)/usr/bin/brew
rm $(VOLUME)/Brewfile
Expand Down