OCaml implementation of the Mozilla Public Suffix service

rearrange

+11 -48
-1
bin/dune
··· 1 1 (executable 2 2 (name main) 3 3 (public_name publicsuffix) 4 - (package publicsuffix) 5 4 (libraries publicsuffix.cmd))
+1 -11
dune-project
··· 21 21 (dune (>= 3.0)) 22 22 (domain-name (>= 0.4.0)) 23 23 (punycode (>= 0.1.0)) 24 + (cmdliner (>= 1.3.0)) 24 25 (alcotest :with-test))) 25 - 26 - (package 27 - (name publicsuffix-cmd) 28 - (synopsis "Command-line interface library for publicsuffix") 29 - (description 30 - "Provides Cmdliner terms for building command-line tools that query the Public Suffix List. Can be used to build custom CLIs that need PSL functionality.") 31 - (depends 32 - (ocaml (>= 4.14.0)) 33 - (dune (>= 3.0)) 34 - publicsuffix 35 - (cmdliner (>= 1.3.0))))
+9 -4
lib/dune
··· 1 1 (library 2 - (name publicsuffix) 3 - (public_name publicsuffix) 4 - (libraries domain-name punycode.idna) 5 - (modules publicsuffix publicsuffix_data)) 2 + (name publicsuffix_data) 3 + (public_name publicsuffix.data) 4 + (modules publicsuffix_data)) 6 5 7 6 (rule 8 7 (deps ··· 13 12 (with-stdout-to 14 13 %{targets} 15 14 (run %{gen} %{dat})))) 15 + 16 + (library 17 + (name publicsuffix) 18 + (public_name publicsuffix) 19 + (libraries domain-name punycode.idna publicsuffix.data) 20 + (modules publicsuffix))
-32
publicsuffix-cmd.opam
··· 1 - # This file is generated by dune, edit dune-project instead 2 - opam-version: "2.0" 3 - synopsis: "Command-line interface library for publicsuffix" 4 - description: 5 - "Provides Cmdliner terms for building command-line tools that query the Public Suffix List. Can be used to build custom CLIs that need PSL functionality." 6 - maintainer: ["Anil Madhavapeddy <anil@recoil.org>"] 7 - authors: ["Anil Madhavapeddy"] 8 - license: "ISC" 9 - homepage: "https://tangled.org/@anil.recoil.org/ocaml-publicsuffix" 10 - bug-reports: "https://tangled.org/@anil.recoil.org/ocaml-publicsuffix/issues" 11 - depends: [ 12 - "ocaml" {>= "4.14.0"} 13 - "dune" {>= "3.18" & >= "3.0"} 14 - "publicsuffix" 15 - "cmdliner" {>= "1.3.0"} 16 - "odoc" {with-doc} 17 - ] 18 - build: [ 19 - ["dune" "subst"] {dev} 20 - [ 21 - "dune" 22 - "build" 23 - "-p" 24 - name 25 - "-j" 26 - jobs 27 - "@install" 28 - "@runtest" {with-test} 29 - "@doc" {with-doc} 30 - ] 31 - ] 32 - x-maintenance-intent: ["(latest)"]
+1
publicsuffix.opam
··· 13 13 "dune" {>= "3.18" & >= "3.0"} 14 14 "domain-name" {>= "0.4.0"} 15 15 "punycode" {>= "0.1.0"} 16 + "cmdliner" {>= "1.3.0"} 16 17 "alcotest" {with-test} 17 18 "odoc" {with-doc} 18 19 ]