;dev: simpler mac hie filename
This commit is contained in:
		
							parent
							
								
									9a5e62345f
								
							
						
					
					
						commit
						bf063f719d
					
				| @ -1,43 +0,0 @@ | |||||||
| # on arm macs, you probably want to symlink this as hie.yaml to make hls use  |  | ||||||
| # ghc 8.10, since there isn't a widely available arm binary for ghc 9.0 yet. |  | ||||||
| 
 |  | ||||||
| cradle: |  | ||||||
|   stack: |  | ||||||
|     stackYaml: stack8.10.yaml |  | ||||||
| 
 |  | ||||||
|     # if there is a hie.yaml, these must be listed explicitly  |  | ||||||
|     # (a limitation of current hls with a multi-package stack project). |  | ||||||
|     # Generated by gen-hie. |  | ||||||
|     components: |  | ||||||
|       - path: "hledger-lib/" |  | ||||||
|         component: "hledger-lib:lib" |  | ||||||
|       - path: "hledger-lib/test/doctests.hs" |  | ||||||
|         component: "hledger-lib:test:doctest" |  | ||||||
|       - path: "hledger-lib/test/unittest.hs" |  | ||||||
|         component: "hledger-lib:test:unittest" |  | ||||||
| 
 |  | ||||||
|       - path: "hledger/" |  | ||||||
|         component: "hledger:lib" |  | ||||||
|       - path: "hledger/app/" |  | ||||||
|         component: "hledger:exe:hledger" |  | ||||||
|       - path: "hledger/test/unittest.hs" |  | ||||||
|         component: "hledger:test:unittest" |  | ||||||
|       - path: "hledger/bench/" |  | ||||||
|         component: "hledger:bench:bench" |  | ||||||
| 
 |  | ||||||
|       - path: "hledger-ui/" |  | ||||||
|         component: "hledger-ui:exe:hledger-ui" |  | ||||||
| 
 |  | ||||||
|       - path: "hledger-web/" |  | ||||||
|         component: "hledger-web:lib" |  | ||||||
|       - path: "hledger-web/app/" |  | ||||||
|         component: "hledger-web:exe:hledger-web" |  | ||||||
|       - path: "hledger-web/test/" |  | ||||||
|         component: "hledger-web:test:test" |  | ||||||
| 
 |  | ||||||
|       - path: "bin/" |  | ||||||
|         component: "hledger:lib" |  | ||||||
| 
 |  | ||||||
|       # silences hls error for Shake.hs, but I think also ignores actual errors |  | ||||||
|       - path: "Shake.hs" |  | ||||||
|         component: "hledger:lib" |  | ||||||
							
								
								
									
										42
									
								
								hie-mac.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								hie-mac.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,42 @@ | |||||||
|  | # arm macs users may want to symlink this as hie.yaml to make hls use ghc 8.10  | ||||||
|  | # since there isn't a widely available ghc 9.0 arm binary yet. | ||||||
|  | 
 | ||||||
|  | cradle: | ||||||
|  |   stack: | ||||||
|  |     stackYaml: "stack8.10.yaml" | ||||||
|  | 
 | ||||||
|  |     # since there is a hie.yaml, these must be listed explicitly  | ||||||
|  |     # (a current limitation of hls with a multi-package stack project): | ||||||
|  |     components: | ||||||
|  |     - path: "hledger-lib/" | ||||||
|  |       component: "hledger-lib:lib" | ||||||
|  |     - path: "hledger-lib/test/doctests.hs" | ||||||
|  |       component: "hledger-lib:test:doctest" | ||||||
|  |     - path: "hledger-lib/test/unittest.hs" | ||||||
|  |       component: "hledger-lib:test:unittest" | ||||||
|  | 
 | ||||||
|  |     - path: "hledger/" | ||||||
|  |       component: "hledger:lib" | ||||||
|  |     - path: "hledger/app/" | ||||||
|  |       component: "hledger:exe:hledger" | ||||||
|  |     - path: "hledger/test/unittest.hs" | ||||||
|  |       component: "hledger:test:unittest" | ||||||
|  |     - path: "hledger/bench/" | ||||||
|  |       component: "hledger:bench:bench" | ||||||
|  | 
 | ||||||
|  |     - path: "hledger-ui/" | ||||||
|  |       component: "hledger-ui:exe:hledger-ui" | ||||||
|  | 
 | ||||||
|  |     - path: "hledger-web/" | ||||||
|  |       component: "hledger-web:lib" | ||||||
|  |     - path: "hledger-web/app/" | ||||||
|  |       component: "hledger-web:exe:hledger-web" | ||||||
|  |     - path: "hledger-web/test/" | ||||||
|  |       component: "hledger-web:test:test" | ||||||
|  | 
 | ||||||
|  |     - path: "bin/" | ||||||
|  |       component: "hledger:lib" | ||||||
|  | 
 | ||||||
|  |     # silences hls error for Shake.hs, but I think also ignores actual errors | ||||||
|  |     - path: "Shake.hs" | ||||||
|  |       component: "hledger:lib" | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user