Code Monkey home page Code Monkey logo

ce3.g8's Introduction

A Giter8 template for cats-effect 3!

Open a console and run the following command to apply this template:

sbt new typelevel/ce3.g8

Template license

Written in 2021 by Jakub Kozłowski [email protected]

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.

ce3.g8's People

Contributors

armanbilge avatar dzanot avatar froth avatar kubukoz avatar larsrh avatar mergify[bot] avatar nikiforo avatar scala-steward avatar serhiip avatar toniogela avatar typelevel-steward[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ce3.g8's Issues

template doesn't work for sbt version 1.3.5

 % sbt -version
sbt version in this project: 1.3.5

If I ask sbt to create the template, it will fail to do so:

% sbt new typelevel/ce3.g8          
[info] Loading global plugins from /Users/anikiforov/.sbt/1.0/plugins
[info] Set current project to empty (in build file:/Users/anikiforov/Proj/empty/)
[info] Set current project to empty (in build file:/Users/anikiforov/Proj/empty/)
name [Cats Effect 3 Quick Start]: 
package [com.example]: 
scala3 [yes/NO]: 
testlib-use-munit-cats-effect-3 [YES/no]: 
testlib-use-cats-effect-testing-specs2 [yes/NO]: 

Exiting due to error in the template: /var/folders/23/qdj88f9132b3z13xwz_t21400000gq/T/giter8-68711820940554
File: /var/folders/23/qdj88f9132b3z13xwz_t21400000gq/T/giter8-68711820940554/src/main/g8/build.sbt, 15:84: invalid character '-'

However, if I specify sbt version as in build.properties of this template

% sbt -Dsbt.version=1.5.5 new typelevel/ce3.g8
[info] welcome to sbt 1.5.5 (Oracle Corporation Java 13.0.1)
[info] loading global plugins from /Users/anikiforov/.sbt/1.0/plugins
[info] set current project to new (in build file:/private/var/folders/23/qdj88f9132b3z13xwz_t21400000gq/T/sbt_aff281ab/new/)
name [Cats Effect 3 Quick Start]: 
package [com.example]: 
scala3 [yes/NO]: 
testlib-use-munit-cats-effect-3 [YES/no]: 
testlib-use-cats-effect-testing-specs2 [yes/NO]: 
Skipping existing file: /Users/anikiforov/Proj/empty/empty/./cats-effect-3-quick-start/README.md
Skipping existing file: /Users/anikiforov/Proj/empty/empty/./cats-effect-3-quick-start/project/build.properties
Skipping existing file: /Users/anikiforov/Proj/empty/empty/./cats-effect-3-quick-start/.gitignore
Skipping ignored file: /var/folders/23/qdj88f9132b3z13xwz_t21400000gq/T/giter8-68943061636419/src/main/g8/src/test/scala/$package$/$if(testlib-use-cats-effect-testing-specs2.truthy)$.$endif$/HelloWorldSpec.scala

Template applied in /Users/anikiforov/Proj/empty/empty/./cats-effect-3-quick-start

Template will be created.

Akka mentions sbt requirement in it's instruction(https://github.com/akka/akka-quickstart-scala.g8) sbt -Dsbt.version=1.3.6 new akka/akka-quickstart-scala.g8. I think ce3.g8 should do the same.

Adding better-monadic-for

What about adding better-monadic-for? Documentation highly suggest it for scala 2. If the scala version gets parametrized probably it can be disabled for scala 3 builds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.