mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-10-26 15:35:29 +03:00
Merge pull request #5 from serokell/balsoft/build-binary
Build binary by default
This commit is contained in:
commit
f97ded8356
3
.gitignore
vendored
3
.gitignore
vendored
@ -21,4 +21,5 @@ cabal.project.local
|
||||
cabal.project.local~
|
||||
.HTF/
|
||||
.ghc.environment.*
|
||||
result*/
|
||||
result
|
||||
result-*
|
34
default.nix
34
default.nix
@ -2,19 +2,21 @@ let
|
||||
sources = import ./nix/sources.nix;
|
||||
nixpkgs = import sources.nixpkgs (import sources."haskell.nix");
|
||||
hn = nixpkgs.haskell-nix;
|
||||
in (hn.stackProject {
|
||||
src = hn.haskellLib.cleanGit { src = ./.; };
|
||||
modules = [{
|
||||
packages.crossref-verifier = {
|
||||
# More failures during CI == Less failures in runtime!
|
||||
postHaddock = ''[[ -z "$(ls -A dist/doc/html)" ]] && exit 1 || echo "haddock successfully generated documentation"'';
|
||||
package.ghcOptions = "-Werror";
|
||||
};
|
||||
}];
|
||||
cache = with sources; [{
|
||||
name = "loot-prelude";
|
||||
inherit (lootbox) sha256 rev;
|
||||
url = "https://github.com/${lootbox.owner}/${lootbox.repo}.git";
|
||||
subdir = "code/prelude";
|
||||
}];
|
||||
}).crossref-verifier
|
||||
project = hn.stackProject {
|
||||
src = hn.haskellLib.cleanGit { src = ./.; };
|
||||
modules = [{
|
||||
packages.crossref-verifier = {
|
||||
# More failures during CI == Less failures in runtime!
|
||||
postHaddock = ''
|
||||
[[ -z "$(ls -A dist/doc/html)" ]] && exit 1 || echo "haddock successfully generated documentation"'';
|
||||
package.ghcOptions = "-Werror";
|
||||
};
|
||||
}];
|
||||
cache = with sources; [{
|
||||
name = "loot-prelude";
|
||||
inherit (lootbox) sha256 rev;
|
||||
url = "https://github.com/${lootbox.owner}/${lootbox.repo}.git";
|
||||
subdir = "code/prelude";
|
||||
}];
|
||||
};
|
||||
in with project; [ crossref-verifier.components.exes crossref-verifier ]
|
||||
|
Loading…
Reference in New Issue
Block a user