Skip to content

Commit b633c8d

Browse files
committed
disabled releasing binaries for now
1 parent 5f93dba commit b633c8d

File tree

5 files changed

+470
-28
lines changed

5 files changed

+470
-28
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
strategy:
5151
fail-fast: false
5252
matrix:
53-
os: [ubuntu-latest, windows-latest]
53+
os: []
5454
include:
5555
- os: ubuntu-latest
5656
uploaded_filename: polystat-x86_64-pc-linux

CHANGELOG.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
1-
## Polystat v0.1.4
1+
## Polystat v0.1.5
22

3-
In this release the `py2eo` project was integrated into `polystat-cli`. You can now run:
4-
```
5-
polystat py --in python_files
6-
```
3+
In this release the Polystat CLI was updated to use the latest version of j2eo (0.5.0).
4+
Also, py2eo integration was updated to produce EO objects with valid names.
75

8-
...to analyze a directory with a bunch of python files. For more options and explanations, run:
9-
```
10-
polystat --help
11-
```
12-
or
13-
```
14-
polystat list --config
15-
```
16-
if you want to use the config file.
6+
> WARNING: This release does not have binaries because some of the Scala 3 libraries are not
7+
compatible with Native Image.

build.sbt

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,21 @@ ThisBuild / versionScheme := Some("semver-spec")
55
ThisBuild / releaseVersionBump := sbtrelease.Version.Bump.Next
66

77
excludeDependencies ++= Seq(
8-
"org.scala-lang.modules" % "scala-xml_2.13"
8+
"org.scalatest" % "scalatest_2.13"
99
)
1010

1111
libraryDependencies ++= Seq(
12-
"io.circe" %% "circe-core" % "0.14.1",
13-
"org.scalameta" %% "munit" % "1.0.0-M3" % Test,
14-
"org.slf4j" % "slf4j-nop" % "1.7.36",
15-
"org.polystat.py2eo" % "transpiler" % "0.0.10",
1612
"org.typelevel" %% "cats-parse" % "0.3.7",
17-
"com.monovore" %% "decline" % "2.2.0",
1813
"com.monovore" %% "decline-effect" % "2.2.0",
19-
"co.fs2" %% "fs2-core" % "3.2.7",
2014
"co.fs2" %% "fs2-io" % "3.2.7",
2115
"org.polystat.odin" %% "analysis" % "0.4.1",
2216
"is.cir" %% "ciris" % "2.3.2",
2317
"lt.dvim.ciris-hocon" %% "ciris-hocon" % "1.0.1",
2418
"org.http4s" %% "http4s-ember-client" % "1.0.0-M32",
19+
"org.scalameta" %% "munit" % "1.0.0-M3" % Test,
20+
"io.circe" %% "circe-core" % "0.14.1",
21+
"org.polystat.py2eo" % "transpiler" % "0.0.10",
22+
"org.slf4j" % "slf4j-nop" % "1.7.36",
2523
)
2624

2725
assembly / assemblyJarName := "polystat.jar"
@@ -33,9 +31,13 @@ buildInfoPackage := "org.polystat"
3331

3432
Global / excludeLintKeys += nativeImageVersion
3533

36-
enablePlugins(NativeImagePlugin)
3734
Compile / mainClass := Some("org.polystat.Main")
35+
36+
enablePlugins(NativeImagePlugin)
3837
nativeImageVersion := "22.1.0"
38+
nativeImageAgentOutputDir := baseDirectory.value / "native-image-configs"
39+
nativeImageGraalHome := java.nio.file.Paths.get(sys.env.get("GRAALVM_HOME").get)
40+
nativeImageAgentMerge := true
3941
nativeImageOptions ++= Seq(
4042
s"-H:ReflectionConfigurationFiles=${baseDirectory.value / "native-image-configs" / "reflect-config.json"}",
4143
s"-H:ConfigurationFileDirectories=${baseDirectory.value / "native-image-configs"}",
@@ -50,7 +52,11 @@ nativeImageOptions ++= Seq(
5052
)
5153

5254
scalacOptions ++= Seq(
53-
"-Wunused:all"
55+
"-Wunused:all",
56+
"-encoding",
57+
"UTF-8",
58+
"-feature",
59+
"-language:implicitConversions",
5460
)
5561

5662
commands += Command.single("preRelease") { (state, nextVersion) =>

0 commit comments

Comments
 (0)