Skip to content

Commit

Permalink
sort opam fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Apr 22, 2020
1 parent d38f950 commit 0be751e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions opam2web.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ depends: [
"cow" {= "2.3.0"}
"js_of_ocaml" {>= "2.4.1" & < "3.3.0"} (* to update, and remove 3.3.0 restriction *)
"js_of_ocaml-ppx"
"opam-core" {>= "2.0.0"}
"opam-format" {>= "2.0.0"}
"opam-state" {>= "2.0.0"}
"opam-client" {>= "2.0.0"}
"opam-core" {>= "2.1.0~beta"}
"opam-format" {>= "2.1.0~beta"}
"opam-state" {>= "2.1.0~beta"}
"opam-client" {>= "2.1.0~beta"}
"cohttp-lwt-unix"
"yojson" {>= "1.6.0"}
]
Expand Down
1 change: 1 addition & 0 deletions src/o2wPackage.ml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ let to_html ~prefix univ pkg =
let {name; version} = pkg in
let pkg = OpamPackage.create pkg.name pkg.version in
let pkg_opam = OpamSwitchState.opam univ.st pkg in
let pkg_opam = OpamFileTools.sort_opam in
let version_links =
let version_set =
OpamPackage.versions_of_name univ.st.packages pkg.name
Expand Down

0 comments on commit 0be751e

Please sign in to comment.