-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
7 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,15 +1,20 @@ | ||
opam-version: "1.2" | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: ["ygrek"] | ||
homepage: "http://ygrek.org.ua/p/sqlgg/" | ||
dev-repo: "https://github.com/ygrek/sqlgg.git" | ||
dev-repo: "git+https://github.com/ygrek/sqlgg.git" | ||
bug-reports: "https://github.com/ygrek/sqlgg/issues" | ||
build: [ | ||
["ocaml" "setup.ml" "-configure" "--enable-tests" "--%{mysql:enable}%-mysql" "--%{sqlite3:enable}%-sqlite3" "--prefix" prefix] | ||
[ "ocaml" | ||
"setup.ml" | ||
"-configure" | ||
"--enable-tests" | ||
"--%{mysql:enable}%-mysql" | ||
"--%{sqlite3:enable}%-sqlite3" | ||
"--prefix" prefix | ||
] | ||
["ocaml" "setup.ml" "-build"] | ||
] | ||
build-test: [ | ||
["ocaml" "setup.ml" "-test"] | ||
["ocaml" "setup.ml" "-test"] {with-test} | ||
] | ||
install: [ | ||
["ocaml" "setup.ml" "-install"] | ||
|
@@ -19,6 +24,7 @@ remove: [ | |
["rm" "-f" "%{bin}%/sqlgg" "%{bin}%/sqlgg.exe"] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.02.0"} | ||
"ocamlfind" {build} | ||
"ocamlbuild" {build} | ||
"mybuild" {build} | ||
|
@@ -32,4 +38,11 @@ depopts: [ | |
"mysql" | ||
"sqlite3" | ||
] | ||
available: [ocaml-version >= "4.02.0"] | ||
synopsis: "SQL Guided (code) Generator" | ||
description: """ | ||
sqlgg is an SQL query parser and binding code generator for C#, C++, Java, OCaml. | ||
It starts off with SQL schema and queries, and generates code (or XML, allowing | ||
further code generation for various purposes). Generated code only defines a mapping | ||
of output columns and query parameters to the host language, trying to be as unobtrusive | ||
as possible and leaving the choice of SQL database (and API to access it) to the developer.""" | ||
flags: light-uninstall |