fix build with assistant disabled and webapp enabled

The webapp modules cannot build with the assistant disabled, so make the
webapp be under the assistant build flag.

Sponsored-by: Jarkko Kniivilä on Patreon
This commit is contained in:
Joey Hess 2022-06-29 14:11:20 -04:00
parent 46faf74d90
commit 02ef3d6a64
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 68 additions and 57 deletions

View file

@ -30,3 +30,10 @@ I don't know haskell, but try to make optional building of Assistant, see [patch
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Yes, use it for several years and have approx 100G repo with 10k+ files. Works fine.
> You had the webapp flag enabled and the assistant disabled.
> That does not make sense; the assistant is part of the webapp.
> That explains why it failed to build. Disabling both webapp and assistant
> works, or only webapp and not assistant.
>
> Ok, fixed it to not build the webapp when the assistant flag is disabled.
> [done]] --[[Joey]]