ci: Simplify usage directions
Compare changes
+ 17
− 13
@@ -63,10 +63,12 @@ repository $REPO_NAME
@@ -123,16 +125,18 @@ EOF
@@ -188,8 +192,8 @@ build_repo() {
@@ -201,7 +205,7 @@ case $1 in
While discussing usage of head.hackage with Simon it was pointed out that it would be simpler for users if there were a single command which could be invoked to add head.hackage to a project. Here we refactor the cabal.project snippets to make this feasible. In particular, we now provide three files:
repo.project
contains the minimal snippet which just defines the source-repository
stanzacabal.constraints
contains the version constraints and allow-newer
declarationcabal.project
is the concatenation of bothWe can then instruct users to simply curl
cabal.project
into their cabal.project.local
file.