-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f84d84
commit 7751308
Showing
3 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: Test | ||
on: [workflow_call] | ||
on: [push, pull_request, workflow_call] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
// Project info | ||
name := "VecMatLib" | ||
homepage := Some(url("https://github.com/ScalaMath/VecMatLib")) | ||
organization := "io.github.scalamath" | ||
organizationName := "ScalaMath" | ||
organizationHomepage := Some(url("https://github.com/ScalaMath")) | ||
version := "3.0" | ||
description := "A Scala library for vectors and matrix math" | ||
// Project scala version | ||
|
@@ -12,4 +15,36 @@ libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test | |
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test | ||
|
||
// Show deprecation warnings | ||
scalacOptions ++= Seq("-unchecked", "-deprecation") | ||
scalacOptions ++= Seq("-unchecked", "-deprecation") | ||
|
||
// Publish info | ||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/ScalaMath/VecMatLib"), | ||
"scm:[email protected]:ScalaMath/VecMatLib.git" | ||
) | ||
) | ||
|
||
// Developer info | ||
developers := List( | ||
Developer( | ||
id = "HexagonNico", | ||
name = "Nicholas Amigoni", | ||
email = "[email protected]", | ||
url = url("https://hexagonnico.github.io") | ||
) | ||
) | ||
|
||
// Project license | ||
licenses := List( | ||
"Apache 2" -> new URL("https://www.apache.org/licenses/LICENSE-2.0.txt") | ||
) | ||
|
||
// Maven publishing | ||
pomIncludeRepository := { _ => false } | ||
publishTo := { | ||
val nexus = "https://s01.oss.sonatype.org/" | ||
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots") | ||
else Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
} | ||
publishMavenStyle := true |