Reynir Björnsson
248a6cdde9
Since mgit is not a public executable it will not be present in $PATH - so we must use %{exe:...} over %{bin:...}. The fix is partial because the (enabled_if ...) stanza doesn't work correctly for me at least.
22 lines
400 B
Text
22 lines
400 B
Text
(cram
|
|
(package git-kv)
|
|
(applies_to simple)
|
|
(locks p9418)
|
|
(enabled_if (= "true" {%read:git-daemon}))
|
|
(deps %{exe:../app/mgit.exe}))
|
|
|
|
(cram
|
|
(package git-kv)
|
|
(applies_to fold)
|
|
(locks p9418)
|
|
(enabled_if (= "true" {%read:git-daemon}))
|
|
(deps %{exe:../app/mgit.exe}))
|
|
|
|
(executable
|
|
(name git_daemon_exists)
|
|
(libraries unix))
|
|
|
|
(rule
|
|
(with-stdout-to
|
|
git-daemon
|
|
(run ./git_daemon_exists.exe)))
|