-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding scala-cli as an alternative build tool #45
Comments
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Changes: * add builder parameter with default value Sbt to both request and model objects * identify Sbt related classes/methods/members and add 'sbt' infix to them Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * group id specific README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builde configuratiion. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builde configuratiion. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Note that the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. * cli setup used JDK 17 (temurin distro) therefore existing JDK setup modified to setup this version Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Changes: * add builder parameter with default value Sbt to both request and model objects * identify Sbt related classes/methods/members and add 'sbt' infix to them Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 9, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'waitForPortTimeout' was extended to 120s as the initial `scala-cli` call requires extra time to warm-up Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'waitForPortTimeout' was extended to 120s as the initial `scala-cli` call requires extra time to warm-up Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'waitForPortTimeout' was extended to 120s as the initial `scala-cli` call requires extra time to warm-up Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` action. * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add it a bit more space as CI was timing out on it. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Changes: * add builder parameter with default value Sbt to both request and model objects * identify Sbt related classes/methods/members and add 'sbt' infix to them Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * the same timeout (minus 1s) is used in order to wait for scala-cli compilation server * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Changes: * add builder parameter with default value Sbt to both request and model objects * identify Sbt related classes/methods/members and add 'sbt' infix to them Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 10, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * the same timeout (minus 1s) is used in order to wait for scala-cli compilation server * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * the same timeout (minus 1s) is used in order to wait for scala-cli compilation server * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Changes: * add builder parameter with default value Sbt to both request and model objects * identify Sbt related classes/methods/members and add 'sbt' infix to them Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * 'scala-cli' tends to fail on the first test start as it waits for server to finish (while sbt is being called on the other CI thread): ensure that only 1 IT test is called on a dedicated runner * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * 'scala-cli' tends to fail on the first test start as it waits for server to finish (while sbt is being called on the other CI thread): ensure that only 1 IT test is called on a dedicated runner * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 11, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * 'scala-cli' tends to fail on the first test start as it waits for server to finish (while sbt is being called on the other CI thread): ensure that only 1 IT test is called on a dedicated runner * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed * StarterServiceITTest was refactored so that it contains less code: Servce (renaned to GeneratedService) landed in its own file; also improved describers (for both Throwable and StarterDetails) landed in a dedicated file; Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
Changes: * add builder parameter with default value Sbt to both request and model objects * identify Sbt related classes/methods/members and add 'sbt' infix to them Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
Add ScalaCli builder type and integrate it with the common ProjectTemplate generation that includes: * main/endpoints/test sources * scalafmt * README.md file Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
Scala Cli allows to provide project parameters like name, version etc. either as a command line parameter or as a part of 'sc' or 'scala' files. Introduce 'build.sc' file that contains: * all project related information * libraries import necessary to compile/run/package etc. generated project in question The 'builder.sc' file is generated only when Scala-Cli builder is selected. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
Scala-cli allows to provide test dependencies inside spec and '.sc' files. Introduce 'test.sc' file that is located under 'src/test/scala/' directory to contain all test related dependencies in a single file. Placing it in 'src/test/scals' prevents test dependencies from being incorporated into production package. Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
Extend the existing integration tests to cover also `scala-cli` builder configuratiion. Notes: * the existing `adopt-tapir-ci.yml` was extended with `VirtusLab/scala-cli-setup@v0.1` and 'coursier/cache-action@v6.3' actions * JVM setup was removed as JVM is being set by installation of coursier (for scala-cli) * 'scala-cli' cannot be chained to call compile, test and run in a signle line therefore compile and test is called when 'ScalaCliService' is created and then run is spawned. It affects the resource creation therefore it is a subject of timeout (by default 30s) therefore new 'waitForScalaCliCompileAndUnitTest' (45s) was introduced to add a bit more space to it so that CI will not time out * 'scala-cli' tends to fail on the first test start as it waits for server to finish (while sbt is being called on the other CI thread): ensure that only 1 IT test is called on a dedicated runner * 'waitForPort' failure was improved to contain full stack exception stack trace so that it is easier to debug what failed * StarterServiceITTest was refactored so that it contains less code: Servce (renaned to GeneratedService) landed in its own file; also improved describers (for both Throwable and StarterDetails) landed in a dedicated file; Part of #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
New radio button group was added to the UI ('Builder') that contains the following values (according to their web page names): * sbt (default) * Scala CLI Notes: * UI tests were extended to validate new configuration values * default builder value (Sbt) was removed from StarterRequest and StarterDetails as it is supported in UI now * new fronted was successfully, manually tested against https://adopt-tapir as backend is already deployed Closes #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
New radio button group was added to the UI ('Builder') that contains the following values (according to their web page names): * sbt (default) * Scala CLI Notes: * UI tests were extended to validate new configuration values * default builder value (Sbt) was removed from StarterRequest and StarterDetails as it is supported in UI now * new fronted was successfully, manually tested against https://adopt-tapir.softwaremill.com/ as backend is already deployed Closes #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
New radio button group was added to the UI ('Builder') that contains the following values (according to their web page names): * sbt (default) * Scala CLI Notes: * UI tests were extended to validate new configuration values * default builder value (Sbt) was removed from StarterRequest and StarterDetails as it is supported in UI now * new fronted was successfully, manually tested against https://adopt-tapir.softwaremill.com/ as backend is already deployed Closes #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
New radio button group was added to the UI ('Builder') that contains the following values (according to their web page names): * sbt (default) * Scala CLI Notes: * UI tests were extended to validate new configuration values * default builder value (Sbt) was removed from StarterRequest and StarterDetails as it is supported in UI now * new fronted was successfully, manually tested against https://adopt-tapir.softwaremill.com/ as backend is already deployed Closes #45
geminicaprograms
pushed a commit
that referenced
this issue
Aug 12, 2022
New radio button group was added to the UI ('Builder') that contains the following values (according to their web page names): * sbt (default) * Scala CLI Notes: * UI tests were extended to validate new configuration values * default builder value (Sbt) was removed from StarterRequest and StarterDetails as it is supported in UI now * new fronted was successfully, manually tested against https://adopt-tapir.softwaremill.com/ as backend is already deployed Closes #45
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could be a good fit a small, simple project?
https://scala-cli.virtuslab.org
The text was updated successfully, but these errors were encountered: