pkg: move hledger-ui comment
This commit is contained in:
		
							parent
							
								
									15ebae5c5f
								
							
						
					
					
						commit
						8e464b6fdf
					
				| @ -35,16 +35,6 @@ flags: | ||||
|     description: If building with time < 1.5, also depend on old-locale. Set automatically by cabal. | ||||
|     manual: false | ||||
|     default: false | ||||
| # curses is required to build terminfo for vty for hledger-ui. | ||||
| # On POSIX systems it might be not present. | ||||
| # On windows it's very likely not present, but possibly it could be. | ||||
| # Ideally we'd like to | ||||
| # on POSIX: give a clear error ("install your system libcurses-dev package") if not present | ||||
| # on windows: quietly skip building if not present, build if it is present | ||||
| #  curses | ||||
| #    default: True | ||||
| #    description: | ||||
| # For now, just don't build hledger-ui on windows | ||||
| cpp-options: -DVERSION="0.28" | ||||
| executables: | ||||
|   hledger-ui: | ||||
| @ -80,6 +70,16 @@ executables: | ||||
|       - transformers | ||||
|       - vector | ||||
|     when: | ||||
|       # curses is required to build terminfo for vty for hledger-ui. | ||||
|       # On POSIX systems it might be not present. | ||||
|       # On windows it's very likely not present, but possibly it could be. | ||||
|       # Ideally we'd like to | ||||
|       # on POSIX: give a clear error ("install your system libcurses-dev package") if not present | ||||
|       # on windows: quietly skip building if not present, build if it is present | ||||
|       #  curses | ||||
|       #    default: True | ||||
|       #    description: | ||||
|       # For now, just don't build hledger-ui on windows | ||||
|       - condition: os(windows) | ||||
|         then: | ||||
|           buildable: false | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user