Template for starting FP libraries ready to be published
Scala
84
128 commits
updated Jul 10, 2024
This is a Giter8 template for creating libraries ready to be published.
Using sbt run the following in a terminal:
sbt --sbt-version 1.5.5 new alexandru/typelevel-library.g8
The created project already has workflows defined for building and releasing the library on Sonatype via GitHub Actions. For automated releases to work, you need to configure:
GH_TOKEN — for automatically publishing the documentation microsite with the repo scope:
PGP_PASSPHRASEPGP_SECRETSONATYPE_USERNAMESONATYPE_PASSWORDTo publish the website to GitHub Pages, it is recommended that you first create the gh-pages branch:
git checkout --orphan gh-pages
git rm --cached -r .
touch index.html && git add index.html
git commit -am 'Initial commit'
git push --set-upstream origin gh-pages
git add .
git reset --hard HEAD
git checkout main
See sample library generated out of the box:
sbt-git options for dynamic version managementCloned from scala/scala-seed, inspired by the build definition of Monix and by ChristopherDavenport/library.g8, another template with similar goals.
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.
Scala
97.4%
Shell
2.1%
Template for starting FP libraries ready to be published
Scala
84
128 commits
updated Jul 10, 2024
This is a Giter8 template for creating libraries ready to be published.
Using sbt run the following in a terminal:
sbt --sbt-version 1.5.5 new alexandru/typelevel-library.g8
The created project already has workflows defined for building and releasing the library on Sonatype via GitHub Actions. For automated releases to work, you need to configure:
GH_TOKEN — for automatically publishing the documentation microsite with the repo scope:
PGP_PASSPHRASEPGP_SECRETSONATYPE_USERNAMESONATYPE_PASSWORDTo publish the website to GitHub Pages, it is recommended that you first create the gh-pages branch:
git checkout --orphan gh-pages
git rm --cached -r .
touch index.html && git add index.html
git commit -am 'Initial commit'
git push --set-upstream origin gh-pages
git add .
git reset --hard HEAD
git checkout main
See sample library generated out of the box:
sbt-git options for dynamic version managementCloned from scala/scala-seed, inspired by the build definition of Monix and by ChristopherDavenport/library.g8, another template with similar goals.
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.
Scala
97.4%
Shell
2.1%