GPS Exchange Format library/CLI in OCaml

ci: opam init

Changed files
+36 -11
.tangled
workflows
+32 -11
.tangled/workflows/build.yml
···
dependencies:
nixpkgs:
- shell
+
- stdenv
+
- findutils
+
- binutils
+
- libunwind
+
- ncurses
+
- opam
+
- git
+
- gawk
+
- gnupatch
+
- gnum4
+
- gnumake
+
- gnutar
+
- gnused
+
- gnugrep
+
- diffutils
+
- gzip
+
- bzip2
- gcc
-
- dune_3
- ocaml
-
- ocamlpackages.xmlm
-
- ocamlpackages.alcotest
-
- ocamlpackages.eio
-
- ocamlpackages.fmt
-
- ocamlpackages.eio_main
-
- ocamlpackages.ppx_expect
-
- ocamlpackages.cmdliner
-
- ocamlpackages.ptime
steps:
-
- name: dune
+
- name: opam
+
command: |
+
opam init --disable-sandboxing -any
+
- name: switch
+
command: |
+
opam install . --confirm-level=unsafe-yes --deps-only
+
- name: build
+
command: |
+
opam exec -- dune build --verbose
+
- name: test
command: |
-
dune build
+
opam exec -- dune runtest --verbose
+
- name: doc
+
command: |
+
opam install -y odoc
+
opam exec -- dune build @doc
+2
dune-project
···
(license ISC)
(authors "Anil Madhavapeddy")
(homepage "https://tangled.sh/@anil.recoil.org/ocaml-gpx")
+
(maintainers "Anil Madhavapeddy <anil@recoil.org>")
+
(bug_reports https://tangled.sh/@anil.recoil.org/ocaml-gpx/issues)
(maintenance_intent "(latest)")
)
+2
mlgpx.opam
···
"Library and CLI for parsing and generating GPS Exchange (GPX) formats"
description:
"mlgpx is a streaming GPX (GPS Exchange Format) library for OCaml. It provides a portable core library using the xmlm streaming XML parser, with a separate Unix layer for file I/O operations. The library supports the complete GPX 1.1 specification including waypoints, routes, tracks, and metadata with strong type safety and validation."
+
maintainer: ["Anil Madhavapeddy <anil@recoil.org>"]
authors: ["Anil Madhavapeddy"]
license: "ISC"
homepage: "https://tangled.sh/@anil.recoil.org/ocaml-gpx"
+
bug-reports: "https://tangled.sh/@anil.recoil.org/ocaml-gpx/issues"
depends: [
"ocaml"
"dune" {>= "3.18"}