Skip to content

Commit

Permalink
upgrade opam to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrek committed Oct 16, 2018
1 parent 3bde70b commit c64809f
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions opam
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"]
Expand All @@ -19,6 +24,7 @@ remove: [
["rm" "-f" "%{bin}%/sqlgg" "%{bin}%/sqlgg.exe"]
]
depends: [
"ocaml" {>= "4.02.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"mybuild" {build}
Expand All @@ -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

0 comments on commit c64809f

Please sign in to comment.