Skip to content

Commit 426aca1

Browse files
authored
Add hackage haddocks upload script. (#40)
1 parent 2ab5eda commit 426aca1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

shell.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,9 @@ in
3232
cabal haddock
3333
open ./dist-newstyle/*/*/*/*/doc/html/arrayfire/index.html
3434
}
35+
function upload-docs () {
36+
cabal haddock --haddock-for-hackage
37+
cabal upload -d dist-newstyle/arrayfire-*.*.*.*-docs.tar.gz --publish
38+
}
3539
'';
3640
})

0 commit comments

Comments
 (0)