-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Base it on the licensing in #6. That way a dev can just depend on the library parts of codept that have nothing to do with the executables (CLI/server/client).
- Loading branch information
1 parent
3aef146
commit 11aa2ca
Showing
6 changed files
with
119 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
(library | ||
(name bundled) | ||
(libraries codept_lib) | ||
(public_name codept-bundled) | ||
(flags (:standard -w -33)) | ||
(wrapped false) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.12.0" | ||
synopsis: "Alternative ocaml dependency analyzer" | ||
description: """ | ||
Codept intends to be a dependency solver for OCaml project and an alternative to ocamldep. Compared to ocamldep, codept major features are: | ||
|
||
* whole project analysis | ||
* exhaustive warning and error messages | ||
* structured format (s-expression or json) for dependencies | ||
* uniform handling of delayed alias dependencies | ||
* (experimental) full dependencies, | ||
when dependencies up to transitive closure are not enough | ||
|
||
Both ocamldep and codept computes an over-approximation of the dependencies graph of OCaml project. However, codept uses whole project analysis to reduce the number of fictitious dependencies inferred at the project scale, whereas ocamldep is, by design, limited to local file analysis.""" | ||
maintainer: ["Florian Angeletti <[email protected]>"] | ||
authors: ["Florian Angeletti <[email protected]>"] | ||
license: "OCaml-LGPL-linking-exception" | ||
homepage: "https://github.com/Octachron/codept" | ||
bug-reports: "https://github.com/Octachron/codept/issues" | ||
depends: [ | ||
"dune" | ||
"codept-lib" {= version} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/Octachron/codept.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.12.0" | ||
synopsis: "Alternative ocaml dependency analyzer" | ||
description: """ | ||
Codept intends to be a dependency solver for OCaml project and an alternative to ocamldep. Compared to ocamldep, codept major features are: | ||
|
||
* whole project analysis | ||
* exhaustive warning and error messages | ||
* structured format (s-expression or json) for dependencies | ||
* uniform handling of delayed alias dependencies | ||
* (experimental) full dependencies, | ||
when dependencies up to transitive closure are not enough | ||
|
||
Both ocamldep and codept computes an over-approximation of the dependencies graph of OCaml project. However, codept uses whole project analysis to reduce the number of fictitious dependencies inferred at the project scale, whereas ocamldep is, by design, limited to local file analysis.""" | ||
maintainer: ["Florian Angeletti <[email protected]>"] | ||
authors: ["Florian Angeletti <[email protected]>"] | ||
license: "OCaml-LGPL-linking-exception" | ||
homepage: "https://github.com/Octachron/codept" | ||
bug-reports: "https://github.com/Octachron/codept/issues" | ||
depends: [ | ||
"dune" | ||
"menhir" {>= "20180523"} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/Octachron/codept.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
(using menhir 2.0) | ||
|
||
(name codept) | ||
(version 0.12.0) | ||
(authors "Florian Angeletti <[email protected]>") | ||
(maintainers "Florian Angeletti <[email protected]>") | ||
(homepage https://github.com/Octachron/codept) | ||
|
@@ -12,9 +13,44 @@ | |
|
||
(package | ||
(name codept) | ||
(version 0.12.0) | ||
(license GPL-3.0-or-later) | ||
(synopsis "Alternative ocaml dependency analyzer") | ||
(depends dune (codept-lib (= :version)) (codept-bundled (= :version))) | ||
(description "Codept intends to be a dependency solver for OCaml project and an alternative to ocamldep. Compared to ocamldep, codept major features are: | ||
* whole project analysis | ||
* exhaustive warning and error messages | ||
* structured format (s-expression or json) for dependencies | ||
* uniform handling of delayed alias dependencies | ||
* (experimental) full dependencies, | ||
when dependencies up to transitive closure are not enough | ||
Both ocamldep and codept computes an over-approximation of the dependencies graph of OCaml project. However, codept uses whole project analysis to reduce the number of fictitious dependencies inferred at the project scale, whereas ocamldep is, by design, limited to local file analysis." | ||
) | ||
) | ||
|
||
(package | ||
(name codept-bundled) | ||
(license OCaml-LGPL-linking-exception) | ||
(synopsis "Alternative ocaml dependency analyzer") | ||
(depends dune (codept-lib (= :version))) | ||
(description "Codept intends to be a dependency solver for OCaml project and an alternative to ocamldep. Compared to ocamldep, codept major features are: | ||
* whole project analysis | ||
* exhaustive warning and error messages | ||
* structured format (s-expression or json) for dependencies | ||
* uniform handling of delayed alias dependencies | ||
* (experimental) full dependencies, | ||
when dependencies up to transitive closure are not enough | ||
Both ocamldep and codept computes an over-approximation of the dependencies graph of OCaml project. However, codept uses whole project analysis to reduce the number of fictitious dependencies inferred at the project scale, whereas ocamldep is, by design, limited to local file analysis." | ||
) | ||
) | ||
|
||
(package | ||
(name codept-lib) | ||
(license OCaml-LGPL-linking-exception) | ||
(synopsis "Alternative ocaml dependency analyzer") | ||
(depends dune (menhir (>= 20180523))) | ||
(description "Codept intends to be a dependency solver for OCaml project and an alternative to ocamldep. Compared to ocamldep, codept major features are: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters