dune init

This commit is contained in:
Mylloon 2023-05-12 08:30:56 +02:00
commit b56f507a20
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
8 changed files with 62 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
_build/

4
bin/dune Normal file
View file

@ -0,0 +1,4 @@
(executable
(public_name pusk)
(name main)
(libraries pusk))

1
bin/main.ml Normal file
View file

@ -0,0 +1 @@
let () = print_endline "Hello, World!"

24
dune-project Normal file
View file

@ -0,0 +1,24 @@
(lang dune 3.7)
(name pusk)
(generate_opam_files true)
(source
(uri https://git.mylloon.fr/Anri/pusk.git))
(authors "Mylloon")
(maintainers "Mylloon")
(license AGPL-3.0-or-later)
(package
(name pusk)
(synopsis "Twitter bot")
(description "Send tweet peridically to avoid ban from Elon")
(depends ocaml dune)
(tags
(api twitter)))
; See the complete stanza docs at https://dune.readthedocs.io/en/stable/dune-files.html#dune-project

2
lib/dune Normal file
View file

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

28
pusk.opam Normal file
View file

@ -0,0 +1,28 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "Twitter bot"
description: "Send tweet peridically to avoid ban from Elon"
maintainer: ["Mylloon"]
authors: ["Mylloon"]
license: "AGPL-3.0-or-later"
tags: ["api" "twitter"]
depends: [
"ocaml"
"dune" {>= "3.7"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "https://git.mylloon.fr/Anri/pusk.git"

2
test/dune Normal file
View file

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

0
test/pusk.ml Normal file
View file