dune init
This commit is contained in:
commit
b56f507a20
8 changed files with 62 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
_build/
|
4
bin/dune
Normal file
4
bin/dune
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(executable
|
||||||
|
(public_name pusk)
|
||||||
|
(name main)
|
||||||
|
(libraries pusk))
|
1
bin/main.ml
Normal file
1
bin/main.ml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
let () = print_endline "Hello, World!"
|
24
dune-project
Normal file
24
dune-project
Normal 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
2
lib/dune
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
(library
|
||||||
|
(name pusk))
|
28
pusk.opam
Normal file
28
pusk.opam
Normal 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
2
test/dune
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
(test
|
||||||
|
(name pusk))
|
0
test/pusk.ml
Normal file
0
test/pusk.ml
Normal file
Loading…
Reference in a new issue