mpizenberg / elm-test-rs

Fast and portable executable to run your Elm tests
BSD 3-Clause "New" or "Revised" License
80 stars 13 forks source link

Use a struct instead of String for package ids (fix dependencies ordering) #70

Closed mpizenberg closed 3 years ago

mpizenberg commented 3 years ago

This effectively changes the order in which packages are sorted. A struct with the fields { author: String, pkg: String } will sort "elm/..." earlier than "elm-.../..." whereas the opposite is true when considering the order of strings.

mpizenberg commented 3 years ago

It follows this PR on the pubgrub dependency provider for elm: https://github.com/mpizenberg/pubgrub-dependency-provider-elm/pull/2