Skip to content

Commit

Permalink
Merge pull request #8 from p2m2/develop
Browse files Browse the repository at this point in the history
update circleci
  • Loading branch information
ofilangi authored Feb 4, 2022
2 parents 1efe70d + da9d406 commit 91bba5b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
command: |
cat /dev/null | sbt clean coverage test coverageReport
bash <(curl -s https://codecov.io/bash)
# bash <(curl -Ls https://coverage.codacy.com/get.sh) report
bash <(curl -Ls https://coverage.codacy.com/get.sh) report
- store_artifacts:
path: target/test-reports
Expand All @@ -152,6 +152,7 @@ jobs:
- run:
name: Snapshot publication
command: |
export PROG_VERSION="${CIRCLE_BRANCH}-SNAPSHOT"
echo "Importing key"
echo -e "$GPG_KEY" | gpg --import
sbt publish
Expand All @@ -167,8 +168,9 @@ jobs:
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: Snapshot publication
name: Release publication
command: |
export PROG_VERSION="${CIRCLE_TAG}"
echo "Importing key"
echo -e "$GPG_KEY" | gpg --import
sbt publish
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# facade-scalajs-N3.js
[![Scala.js](https://www.scala-js.org/assets/badges/scalajs-1.6.0.svg)](https://www.scala-js.org)
[![p2m2](https://circleci.com/gh/p2m2/facade-scalajs-N3.js.svg?style=shield)](https://app.circleci.com/pipelines/github/p2m2)
[![codecov](https://codecov.io/gh/p2m2/N3.js-facade/branch/develop/graph/badge.svg)](https://codecov.io/gh/p2m2/discovery)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a2b58895113e4be38aa6dc38bdb3b1ec)](https://app.codacy.com/gh/p2m2/N3.js-facade?utm_source=github.com&utm_medium=referral&utm_content=p2m2/N3.js-facade&utm_campaign=Badge_Grade_Settings)
[![codecov](https://codecov.io/gh/p2m2/facade-scalajs-N3.js/branch/develop/graph/badge.svg)](https://codecov.io/gh/p2m2/facade-scalajs-N3.js)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a2b58895113e4be38aa6dc38bdb3b1ec)](https://app.codacy.com/gh/p2m2/facade-scalajs-N3.js?utm_source=github.com&utm_medium=referral&utm_content=p2m2/facade-scalajs-N3.js&utm_campaign=Badge_Grade_Settings)

Scala.js Facade of the [N3.js library](https://github.com/rdfjs/N3.js)

Expand Down
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lazy val version_n3="1.13.0"

def getPackageSetting = Seq(
name := "n3js",
version := version_n3 ,
version := scala.util.Properties.envOrElse("PROG_VERSION", version_n3 ),
scalaVersion := "2.13.7",
organization := "com.github.p2m2",
organizationName := "p2m2",
Expand All @@ -14,8 +14,8 @@ def getPackageSetting = Seq(
description := "Scalajs Facade for N3.js.",
scmInfo := Some(
ScmInfo(
url("https://github.com/p2m2/N3.js-facade"),
"scm:[email protected]:p2m2/N3.js-facade.git"
url("https://github.com/p2m2/facade-scalajs-N3.js"),
"scm:[email protected]:p2m2/facade-scalajs-N3.js.git"
)
),
developers := List(
Expand Down Expand Up @@ -71,14 +71,14 @@ lazy val root = project.in(file(".")).
webpackBundlingMode := BundlingMode.LibraryAndApplication(),
Compile / npmDependencies ++= Seq("n3" -> version_n3),
libraryDependencies ++= Seq(
"com.github.p2m2" %%% "data-model-rdfjs" % "1.0.0",
"com.github.p2m2" %%% "data-model-rdfjs" % "1.0.1",
"net.exoego" %%% "scala-js-nodejs-v14" % "0.14.0" % "test",
"com.lihaoyi" %%% "utest" % "0.7.11" % "test"
) ,
testFrameworks += new TestFramework("utest.runner.Framework"),
coverageMinimumStmtTotal := 86,
coverageFailOnMinimum := false,
coverageHighlighting := true,
coverageHighlighting := true
)

Global / onChangedBuildSource := ReloadOnSourceChanges

0 comments on commit 91bba5b

Please sign in to comment.