Giter VIP home page Giter VIP logo

Comments (9)

adrianhurt avatar adrianhurt commented on August 19, 2024 2

Hi! I've just released the non-snapshot version.

from play-bootstrap.

mkurz avatar mkurz commented on August 19, 2024

@mvdstam Can you provide a pull request?

from play-bootstrap.

mvdstam avatar mvdstam commented on August 19, 2024

Of course @mkurz: #123 has been opened. Let me know what you think. 👍

from play-bootstrap.

mvdstam avatar mvdstam commented on August 19, 2024

I can't get this to work locally for some reason when I do sbt +publishLocal. I keep getting compilation errors saying object b4 is not a member of package views.htm.

What is the recommended way of doing local development with play-bootstrap so I can see if my suggested changes do what they are supposed to do? 😃

from play-bootstrap.

adrianhurt avatar adrianhurt commented on August 19, 2024

Hi @mvdstam. Thanks for the PR! It has passed every test like a charm, so I've just merged it and publish the version 1.5.1 as SNAPSHOT. Please check it with your custom MessagesApi.

To work with this library in local for development you have to:

  1. I recommend changing the version to a custom one in every build.sbt file.
    core-play27/build.sbt
version := "1.5-P27-TEST-SNAPSHOT"

play27-bootstrap4/module/build.sbt

version := "1.5-P27-B4-TEST-SNAPSHOT"
libraryDependencies ++= Seq(
    "com.adrianhurt" %% "play-bootstrap-core" % "1.5-P27-TEST-SNAPSHOT",
)
  1. Compile and publish locally core-play27
cd core-play27 && activator
> clean
> compile
> + publishLocal
  1. Compile, test and publish locally play27-bootstrap4/module
cd play27-bootstrap4/module && activator
> clean
> compile
> test
> + publishLocal
  1. Change the build.sbt file on your own project to match your new local version for the library
    build.sbt
libraryDependencies ++= Seq(
    "com.adrianhurt" %% "play-bootstrap-core" % "1.5-P27-B4-TEST-SNAPSHOT",
)
  1. Play with it!

I hope it works to you, and thanks again! I will update now the docs to add the new 1.5.1 version.

from play-bootstrap.

mvdstam avatar mvdstam commented on August 19, 2024

Hi @adrianhurt, thanks a lot for your instructions.

I've been testing with the 1.5.1-snapshot for B4/P27 and everything seems to work perfectly. No more superfluous messages being translated, so I can see precisely which messages need translations and which don't. Also less function calls now, so it's all a bit more efficient as well. 😃

Can you release and publish 1.5.1?

from play-bootstrap.

mkurz avatar mkurz commented on August 19, 2024

@adrianhurt activator is end of life already. You should use sbt instead.

from play-bootstrap.

mvdstam avatar mvdstam commented on August 19, 2024

Hi @adrianhurt, can you please release and publish a non-snapshot version? Thanks!

from play-bootstrap.

mvdstam avatar mvdstam commented on August 19, 2024

Thank you @adrianhurt, cheers.

from play-bootstrap.

Related Issues (20)

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.