Skip to content

Commit 5d2a433

Browse files
committed
prepare official 1.0.0 release (for real this time)
GitOrigin-RevId: eed05544d4e92a3fa499fe4753df36c5e426c96b
1 parent bcde413 commit 5d2a433

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

Makefile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
VERSION=HEAD-SNAPSHOT
3+
4+
.PHONY: build test release release-local
5+
6+
build:
7+
sbt +clean +compile
8+
9+
test:
10+
# Once we fix the issue with the tests on the Gorilla part, we should
11+
# replace this with sbt +test
12+
sbt test
13+
14+
release:
15+
sbt 'set version := "$(VERSION)"' +publishSigned
16+
17+
release-local:
18+
sbt 'set version := "$(VERSION)"' +publishLocal

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,24 @@ This library is not intended to provide in-depth statistics about time series da
1818

1919
> Everything is a step function
2020
21+
#### TL/DR
22+
23+
```
24+
<dependency>
25+
<groupId>io.sqooba.oss</groupId>
26+
<artifactId>scala-timeseries-lib_2.13</artifactId>
27+
<version>1.0.0</version>
28+
</dependency>
29+
```
30+
31+
or, if you want to cook your own, local, `HEAD-SNAPSHOT` release, just
32+
33+
```
34+
make release-local
35+
# Alternatively, if you want to set a specific version when installing locally:
36+
make -e VERSION=1.0.0 release-local
37+
```
38+
2139
## Usage
2240
In essence, a `TimeSeries` is just an ordered map of `[Long,T]`. In most use cases the key represents the time since the epoch in milliseconds, but the implementation makes no assumption about the time unit of the key.
2341

build.sbt

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
organization := "io.sqooba.oss"
22
name := "scala-timeseries-lib"
3-
version := "HEAD-SNAPSHOT"
43
scalaVersion := "2.13.1"
54
description := "Lightweight, functional and exact time-series library for scala"
65
homepage := Some(url("https://github.com/Sqooba/scala-timeseries-lib"))

0 commit comments

Comments
 (0)