Init OCaml repository

This commit is contained in:
Maiste 2023-10-18 19:25:21 +02:00
parent e621073c02
commit a204601429
No known key found for this signature in database
GPG Key ID: 030C4ED753794A0E
6 changed files with 55 additions and 0 deletions

1
ocaml/.ocamlformat Normal file
View File

@ -0,0 +1 @@
profile = default

19
ocaml/dune-project Normal file
View File

@ -0,0 +1,19 @@
(lang dune 3.11)
(generate_opam_files true)
(name gilded_rose)
(source
(github emilybache/GildedRose-Refactoring-Kata))
(authors "Maiste <dev@maiste.fr>")
(maintainers "Maiste <dev@maiste.fr>")
(license MIT)
(documentation https://github.com/emilybache/GildedRose-Refactoring-Kata)
(package
(name gilded_rose)
(synopsis "Gilded Rose Refactoring Kata")
(description "The Gilded Rose Refactoring Kata in OCaml")
(depends
(ocaml (>= 4.08))
dune))

31
ocaml/gilded_rose.opam Normal file
View File

@ -0,0 +1,31 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Gilded Rose Refactoring Kata"
description: "The Gilded Rose Refactoring Kata in OCaml"
maintainer: ["Maiste <dev@maiste.fr>"]
authors: ["Maiste <dev@maiste.fr>"]
license: "MIT"
homepage: "https://github.com/emilybache/GildedRose-Refactoring-Kata"
doc: "https://github.com/emilybache/GildedRose-Refactoring-Kata"
bug-reports:
"https://github.com/emilybache/GildedRose-Refactoring-Kata/issues"
depends: [
"ocaml" {>= "4.08"}
"dune" {>= "3.11"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/emilybache/GildedRose-Refactoring-Kata.git"

2
ocaml/lib/dune Normal file
View File

@ -0,0 +1,2 @@
(library
(name gilded_rose))

2
ocaml/test/dune Normal file
View File

@ -0,0 +1,2 @@
(test
(name gilded_rose))

View File