From 1edaa59b0d1475f921e702ddd6f7561c578e9894 Mon Sep 17 00:00:00 2001 From: Asherah Connor Date: Thu, 30 May 2024 19:29:57 +0300 Subject: [PATCH] publish to github packages. --- project/plugins.sbt | 2 ++ publish.sbt | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 publish.sbt diff --git a/project/plugins.sbt b/project/plugins.sbt index 5708f81..87a2775 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1 +1,3 @@ logLevel := Level.Warn + +addSbtPlugin("com.codecommit" % "sbt-github-packages" % "0.5.3") diff --git a/publish.sbt b/publish.sbt new file mode 100644 index 0000000..3bc5c54 --- /dev/null +++ b/publish.sbt @@ -0,0 +1,24 @@ +githubOwner := "chryse-hdl" +githubRepository := "chryse" +githubTokenSource := TokenSource.GitConfig("github.token") + +ThisBuild / scmInfo := Some( + ScmInfo( + url("https://github.com/chryse-hdl/chryse"), + "scm:git@github.com/chryse-hdl/chryse.git", + ), +) + +ThisBuild / developers := List( + Developer( + id = "kivikakk", + name = "Asherah Connor", + email = "ashe@kivikakk.ee", + url = url("https://kivikakk.ee"), + ), +) + +ThisBuild / description := "Project framework for Chisel." +ThisBuild / licenses := List( + "Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"), +)