Initial commit

Basic build infrastructure, license, and readme files.
This commit is contained in:
2025-08-30 10:10:13 +01:00
commit e919ffe06a
12 changed files with 286 additions and 0 deletions

42
partridge.opam Normal file
View File

@@ -0,0 +1,42 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Generate solutions to the Partridge problem"
description:
"Generates solutions to Partidge problems of various sizes. See README.md for more details"
maintainer: ["Matthew Gretton-Dann <matt@gretton-dann.org.uk>"]
authors: ["Matthew Gretton-Dann <matt@gretton-dann.org.uk>"]
license: "Apache-2.0"
tags: ["partridge-problem" "triangular-numbers"]
homepage:
"https://gitea.gretton-dann.org.uk/mgrettondann/triangle-square-cubes"
doc: "https://gitea.gretton-dann.org.uk/mgrettondann/triangle-square-cubes"
bug-reports:
"https://gitea.gretton-dann.org.uk/mgrettondann/triangle-square-cubes/issues"
depends: [
"ocaml" {>= "5.3"}
"ocaml-lsp-server" {dev}
"utop" {dev}
"odoc" {with-doc}
"ocamlformat" {= "0.27.0"}
"ounit2" {with-test}
"dune" {>= "3.20"}
"ppx_inline_test"
"ppx_expect"
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo:
"git+https://gitea.gretton-dann.org.uk/mgrettondann/triangle-square-cubes.git"
x-maintenance-intent: ["(latest)"]