From bbe9e3aae19f3f88d715b61dd2eaae2a2942109c Mon Sep 17 00:00:00 2001 From: Andreas Date: Thu, 18 Apr 2024 17:23:38 +0200 Subject: [PATCH] Restructure dune project --- dune-project | 19 +++++++------------ lib/data/game.mli | 1 + relic-sdk.opam | 9 +++++++-- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/dune-project b/dune-project index c73f156..e512ed9 100644 --- a/dune-project +++ b/dune-project @@ -1,20 +1,15 @@ (lang dune 3.10) - (name relic-sdk) - +(version 0.1.0) +(cram enable) (generate_opam_files true) - -(source - (github AoeCenter/relic-sdk)) - -(authors "Andreas Kr\195\188hlmann") - -(maintainers "echo 'YW5kcmVhc0BrcnVobG1hbm4uZGV2Cg==' | base64 -d") - +(source (github AoeCenter/relic-sdk)) +(authors + "echo 'QW5kcmVhcyBLcsO8aGxtYW5uIDxhbmRyZWFzQGtydWhsbWFubi5kZXY+Cg==' | base64 -d") +(maintainers + "echo 'QW5kcmVhcyBLcsO8aGxtYW5uIDxhbmRyZWFzQGtydWhsbWFubi5kZXY+Cg==' | base64 -d") (license MIT) - (documentation https://github.com/AoeCenter/relic-sdk) - (package (name relic-sdk) (synopsis "SDK for the relic-link api") diff --git a/lib/data/game.mli b/lib/data/game.mli index 068a2d9..e7261e6 100644 --- a/lib/data/game.mli +++ b/lib/data/game.mli @@ -13,5 +13,6 @@ type t = (** [to_str g] converts a game [g] into its string representation for use in the relic-link API *) val to_str : t -> string + (** [to_str g] converts a game [g] into its steam app id *) val to_app_id : t -> int diff --git a/relic-sdk.opam b/relic-sdk.opam index 54631ae..ee5b3ff 100644 --- a/relic-sdk.opam +++ b/relic-sdk.opam @@ -1,8 +1,13 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" +version: "0.1.0" synopsis: "SDK for the relic-link api" -maintainer: ["echo 'YW5kcmVhc0BrcnVobG1hbm4uZGV2Cg==' | base64 -d"] -authors: ["Andreas Krühlmann"] +maintainer: [ + "echo 'QW5kcmVhcyBLcsO8aGxtYW5uIDxhbmRyZWFzQGtydWhsbWFubi5kZXY+Cg==' | base64 -d" +] +authors: [ + "echo 'QW5kcmVhcyBLcsO8aGxtYW5uIDxhbmRyZWFzQGtydWhsbWFubi5kZXY+Cg==' | base64 -d" +] license: "MIT" homepage: "https://github.com/AoeCenter/relic-sdk" doc: "https://github.com/AoeCenter/relic-sdk"