Skip to content

Commit

Permalink
use static oasis setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrek committed Oct 1, 2017
1 parent 943822b commit bddb6e1
Show file tree
Hide file tree
Showing 13 changed files with 8,953 additions and 45 deletions.
15 changes: 1 addition & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,5 @@ NAME=sqlgg-$(VERSION)
.PHONY: release
release:
git tag -a -m $(VERSION) $(VERSION)
git checkout -b release-$(VERSION)
oasis setup
git add lib/META lib/sqlgg.* setup.ml _tags
git commit -m "oasis setup"
git archive --prefix=$(NAME)/ release-$(VERSION) | gzip > $(NAME).tar.gz
git checkout master
git archive --prefix=$(NAME)/ $(VERSION) | gzip > $(NAME).tar.gz
gpg -a -b $(NAME).tar.gz

.PHONY: oasis
# partially dynamic setup
# needed to have clean builds because of modifications to _tags
oasis:
oasis setup
git checkout setup.ml
rm -f **/*.clib **/*.mllib **/*.mldylib **/*.mlpack **/*.odocl **/META myocamlbuild.ml
4 changes: 4 additions & 0 deletions impl/sqlgg_mysql.mldylib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 920da432acfe21c32891d469aefa6633)
Sqlgg_mysql
# OASIS_STOP
4 changes: 4 additions & 0 deletions impl/sqlgg_mysql.mllib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 920da432acfe21c32891d469aefa6633)
Sqlgg_mysql
# OASIS_STOP
4 changes: 4 additions & 0 deletions impl/sqlgg_sqlite3.mldylib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 1ed31a4e33ffdd90ab9d5167f300d6d9)
Sqlgg_sqlite3
# OASIS_STOP
4 changes: 4 additions & 0 deletions impl/sqlgg_sqlite3.mllib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 1ed31a4e33ffdd90ab9d5167f300d6d9)
Sqlgg_sqlite3
# OASIS_STOP
4 changes: 4 additions & 0 deletions impl/sqlgg_traits.mldylib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 5a9033d3847ac5f8d692909c93c83a60)
Sqlgg_traits
# OASIS_STOP
4 changes: 4 additions & 0 deletions impl/sqlgg_traits.mllib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: 5a9033d3847ac5f8d692909c93c83a60)
Sqlgg_traits
# OASIS_STOP
43 changes: 43 additions & 0 deletions lib/META
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# OASIS_START
# DO NOT EDIT (digest: 2f57fa5a8c5357a5d6673f23f89b0e89)
version = "0.4.1"
description = "SQL guided (code) generator"
requires = "extlib deriving"
archive(byte) = "sqlgg.cma"
archive(byte, plugin) = "sqlgg.cma"
archive(native) = "sqlgg.cmxa"
archive(native, plugin) = "sqlgg.cmxs"
exists_if = "sqlgg.cma"
package "traits" (
version = "0.4.1"
description = "SQL guided (code) generator"
archive(byte) = "sqlgg_traits.cma"
archive(byte, plugin) = "sqlgg_traits.cma"
archive(native) = "sqlgg_traits.cmxa"
archive(native, plugin) = "sqlgg_traits.cmxs"
exists_if = "sqlgg_traits.cma"
)

package "sqlite3" (
version = "0.4.1"
description = "SQL guided (code) generator"
requires = "sqlite3 sqlgg.traits"
archive(byte) = "sqlgg_sqlite3.cma"
archive(byte, plugin) = "sqlgg_sqlite3.cma"
archive(native) = "sqlgg_sqlite3.cmxa"
archive(native, plugin) = "sqlgg_sqlite3.cmxs"
exists_if = "sqlgg_sqlite3.cma"
)

package "mysql" (
version = "0.4.1"
description = "SQL guided (code) generator"
requires = "mysql sqlgg.traits"
archive(byte) = "sqlgg_mysql.cma"
archive(byte, plugin) = "sqlgg_mysql.cma"
archive(native) = "sqlgg_mysql.cmxa"
archive(native, plugin) = "sqlgg_mysql.cmxs"
exists_if = "sqlgg_mysql.cma"
)
# OASIS_STOP

4 changes: 4 additions & 0 deletions lib/sqlgg.mldylib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: d2573b0a453e5605862582c2df79741f)
Sqlgg
# OASIS_STOP
4 changes: 4 additions & 0 deletions lib/sqlgg.mllib
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# OASIS_START
# DO NOT EDIT (digest: d2573b0a453e5605862582c2df79741f)
Sqlgg
# OASIS_STOP
9 changes: 9 additions & 0 deletions lib/sqlgg.mlpack
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# OASIS_START
# DO NOT EDIT (digest: 58b1cced27398a364801a2c5324fe5d0)
Props
Sql
Stmt
Tables
Syntax
Prelude
# OASIS_STOP
Loading

0 comments on commit bddb6e1

Please sign in to comment.