You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 3, 2022. It is now read-only.
If a FilePath matches a so-called "phony" target, Shake will
count this as satisfying the phony target and skip its steps.
Currently, the target called targetDir is overloaded, being
used in a "~>" rule (for defining a "phony" target) but it is
also used for contructing file paths, and it appears as a
dependency in some rules (e.g., "need [targetDir]"). When it
is a dependency, it actually should be upon a phony target,
not the actual directory. Due to how dependencies are
constructed for the Windows HP build, this problem has
plagued it.
This change needs to be tested for the other build environments.
* hptool/src/Main.hs
* hptool/src/OS/Internal.hs
* hptool/src/OS/Mac.hs
* hptool/src/OS/Posix.hs
* hptool/src/OS/Win.hs
* hptool/src/OS/Win/WinNsis.hs
* change the dependency upon targetDir to phonyTargetDir
* hptool/src/Paths.hs
* define and export phonyTargetDir
* hptool/src/Target.hs
* Change rule from targetDir to phonyTargetDir
0 commit comments