Skip to content

Commit

Permalink
Merge branch 'jbuilder'
Browse files Browse the repository at this point in the history
with this commit series, bistro is not compatible anymore with core
pre-0.9
  • Loading branch information
pveber committed Jun 21, 2017
2 parents 241fc77 + 020702a commit b8714b4
Show file tree
Hide file tree
Showing 42 changed files with 92 additions and 658 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ _build
_bistro
*.byte
*.native
.merlin
bistro.install
47 changes: 0 additions & 47 deletions Makefile

This file was deleted.

149 changes: 0 additions & 149 deletions _oasis

This file was deleted.

5 changes: 0 additions & 5 deletions _tags

This file was deleted.

3 changes: 2 additions & 1 deletion app/bistro_demo.ml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
(** {:{http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE29506}GEO Series GSE29506} *)

open Core.Std
open Core
open Bistro.Std
open Bistro.EDSL
open Bistro_bioinfo.Std
open Bistro_engine
open Bistro_utils

let common_spec =
let open Command.Spec in
Expand Down
22 changes: 0 additions & 22 deletions app/bistro_main.ml

This file was deleted.

3 changes: 2 additions & 1 deletion app/bistro_test.ml → app/bistro_test_app.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
open Core.Std
open Core
open Bistro_test

let () =
Command.group ~summary:"Bistro test app" [
Expand Down
13 changes: 13 additions & 0 deletions app/jbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
(jbuild_version 1)

(executable
((name bistro_demo)
(modules (bistro_demo))
(libraries (bistro.bioinfo bistro.utils))
))

(executable
((name bistro_test_app)
(modules (bistro_test_app))
(libraries (bistro.bioinfo bistro_test bistro.utils))
))
17 changes: 3 additions & 14 deletions opam → bistro.opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,12 @@ homepage: "https://github.com/pveber/bistro/"
dev-repo: "https://github.com/pveber/bistro.git"
bug-reports: "https://github.com/pveber/bistro/issues"
license: "GPL"
build: [
["./configure" "--prefix=%{prefix}%"]
[make]
]
install: [make "install"]
remove: [
["ocamlfind" "remove" "bistro"]
["ocamlfind" "remove" "ppx_bistro"]
]
build: ["jbuilder" "build" "-p" name "-j" jobs]
depends: [
"oasis" {build & >= "0.4"}
"ocamlfind" {build}
"core" {<"v0.9.0"}
"jbuilder" {build & >= "1.0+beta8"}
"core" {>= "0.9.0"}
"lwt"
"ocamlgraph" {>= "1.8.7"}
"ppx_tools"
"pvem"
"rresult"
"sexplib" {>= "113.24.00"}
"tyxml" {>= "4.0"}
Expand Down
27 changes: 0 additions & 27 deletions configure

This file was deleted.

2 changes: 1 addition & 1 deletion lib/bioinfo/deseq2.ml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ let unique xs =
let rec aux seen = function
| [] -> []
| h :: t ->
if List.mem seen h then
if List.mem ~equal:( = ) seen h then
aux seen t
else
h :: aux (h :: seen) t
Expand Down
7 changes: 7 additions & 0 deletions lib/bioinfo/jbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(jbuild_version 1)

(library
((name bistro_bioinfo)
(public_name bistro.bioinfo)
(libraries (bistro core))
))
Loading

0 comments on commit b8714b4

Please sign in to comment.