Split into library and executable
This commit is contained in:
		@@ -13,15 +13,21 @@ common common
 | 
				
			|||||||
    ghc-options: -Wall
 | 
					    ghc-options: -Wall
 | 
				
			||||||
    default-language: GHC2024
 | 
					    default-language: GHC2024
 | 
				
			||||||
 | 
					
 | 
				
			||||||
executable byg
 | 
					library
 | 
				
			||||||
    import:           common
 | 
					    import: common
 | 
				
			||||||
    main-is:          Main.hs
 | 
					    hs-source-dirs: src
 | 
				
			||||||
    other-modules:
 | 
					    exposed-modules:
 | 
				
			||||||
        Sources
 | 
					        Sources
 | 
				
			||||||
        Functions
 | 
					        Functions
 | 
				
			||||||
        ComputationM
 | 
					        ComputationM
 | 
				
			||||||
    hs-source-dirs:   src
 | 
					 | 
				
			||||||
    build-depends:
 | 
					    build-depends:
 | 
				
			||||||
        base
 | 
					        base
 | 
				
			||||||
      , mtl
 | 
					      , mtl
 | 
				
			||||||
      , bytestring
 | 
					      , bytestring
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					executable byg
 | 
				
			||||||
 | 
					    import: common
 | 
				
			||||||
 | 
					    main-is: src/Main.hs
 | 
				
			||||||
 | 
					    build-depends:
 | 
				
			||||||
 | 
					        base
 | 
				
			||||||
 | 
					      , byg
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user