This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,17 @@
description = "Alternative String module for OCaml"
version = "%%VERSION_NUM%%"
requires = ""
archive(byte) = "astring.cma"
archive(native) = "astring.cmxa"
plugin(byte) = "astring.cma"
plugin(native) = "astring.cmxs"
package "top" (
description = "Astring toplevel support"
version = "%%VERSION_NUM%%"
requires = "astring"
archive(byte) = "astring_top.cma"
archive(native) = "astring_top.cmxa"
plugin(byte) = "astring_top.cma"
plugin(native) = "astring_top.cmxs"
)

View file

@ -0,0 +1,13 @@
#!/usr/bin/env ocaml
#use "topfind"
#require "topkg"
open Topkg
let () =
Pkg.describe "astring" @@ fun c ->
Ok [ Pkg.mllib ~api:["Astring"] "src/astring.mllib";
Pkg.mllib ~api:[] "src/astring_top.mllib";
Pkg.lib "src/astring_top_init.ml";
Pkg.doc "test/examples.ml";
Pkg.test "test/test";
Pkg.test "test/examples"; ]