-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration files so the project can be built with cabal (#1667)
* Add files to embed in the exe to extra-source-files Cabal requires the files to be specified here because it uses an isolated build work directory. * Add cabal configuration files * Document how to use `cabal` with the project
- Loading branch information
1 parent
d091322
commit e8a3cd0
Showing
4 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
cradle: | ||
cabal: | ||
- path: "./src" | ||
component: "lib:juvix" | ||
|
||
- path: "./app" | ||
component: "exe:juvix" | ||
|
||
- path: "./test" | ||
component: "test:juvix-test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-- Generated by stackage-to-hackage | ||
|
||
with-compiler: ghc-9.2.5 | ||
|
||
packages: | ||
./ | ||
|
||
jobs: $ncpus | ||
|
||
allow-older: * | ||
allow-newer: * | ||
|
||
import: https://www.stackage.org/lts-20.2/cabal.config | ||
|
||
package juvix | ||
ghc-options: -optP-Wno-nonportable-include-path | ||
test-show-details: direct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ license-file: LICENSE | |
copyright: (c) 2022- Heliax AG. | ||
maintainer: The PLT Team at Heliax AG <[email protected]> | ||
author: [ Jonathan Prieto-Cubides , Jan Mas Rovira , Paul Cadman , Lukasz Czajka , Github's contributors ] | ||
tested-with: ghc == 9.2.4 | ||
tested-with: ghc == 9.2.5 | ||
homepage: https://juvix.org | ||
bug-reports: https://github.com/anoma/juvix/issues | ||
description: The Juvix compiler | ||
|
@@ -15,6 +15,11 @@ github: anoma/juvix | |
extra-source-files: | ||
- README.org | ||
- assets/* | ||
- juvix-stdlib/**/*.juvix | ||
- runtime/include/**/*.h | ||
- runtime/**/*.a | ||
- c-runtime/**/*.h | ||
- c-runtime/walloc/walloc.c | ||
|
||
dependencies: | ||
- aeson == 2.0.* | ||
|