Commit cc49b03e authored by Valentin Reis's avatar Valentin Reis

shake CI/Readme update.

parent 319833bc
Pipeline #5411 passed with stage
in 7 minutes and 12 seconds
......@@ -7,14 +7,14 @@ stages:
build:
stage: main
script:
- nix-build default.nix -A argotk
- nix-build -I argopkgs=$ARGOPKGS default.nix -A argotk
tags:
- integration
pre-commit:
stage: main
script:
- ./shake.hs
- nix-shell -I argopkgs=$ARGOPKGS default.nix --run "runhaskell ./shake.hs" -A shakeEnv
tags:
- integration
......
......@@ -80,7 +80,7 @@ Available options:
--output_dir DIR Working
directory. (default: WorkingDirectory (FilePath "_output"))
--manifest_directory DIR Manifest lookup
directory (default: ShareDir (FilePath "/nix/store/64wmv8npkn4dx263ln853r6lvlckj07h-argotk-0.1.0.0/share"))
directory (default: ShareDir (FilePath "/nix/store/ir0n7vb6zf8wjl2j0jk217lc2aqmjgf7-argotk-0.1.0.0/share"))
--manifest_name FILENAME Manifest file basename (relative to
--manifest_directory) (default: ManifestName (FilePath "basic.json"))
--prelude_command COMMAND
......
......@@ -8,7 +8,7 @@ rec {
hack = pkgs.argolib.getHackEnv pkgs pkgs.haskellPackages argotk;
preCommit = pkgs.mkShell {
shakeEnv = pkgs.stdenv.mkDerivation {
name = "shake";
ARGOTK_SHARE = "${argotk}/share";
buildInputs = [
......
#! /usr/bin/env nix-shell
#! nix-shell default.nix -i runhaskell -A preCommit
#! nix-shell default.nix -i runhaskell -A shakeEnv
{-|
Module : shake.hs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment