Browse files

ramping up: creaton of debian package.

  • Loading branch information...
1 parent f4c8571 commit f2cbd56fa651b9ecce6b5418abc52137a63e02ac Romain Slootmaekers committed May 29, 2012
Showing with 11 additions and 31 deletions.
  1. +3 −10 Makefile
  2. +3 −3 debian/changelog
  3. +0 −17 src/arakoon_client.mllib
  4. +4 −0 src/hope/barakoon.ml
  5. +1 −1 src/hope/bstore_test.ml
View
13 Makefile
@@ -13,30 +13,23 @@ build:
ocamlbuild -use-ocamlfind barakoon.native
test:
- ./barakoon.native --run-all-tests
+ ./barakoon.native --test
install: install_client install_server
install_server:
mkdir -p $(DESTDIR)/usr/bin/
- cp ./arakoon.native $(DESTDIR)/usr/bin/arakoon
+ cp ./barakoon.native $(DESTDIR)/usr/bin/arakoon
install_client:
mkdir -p $(OCAML_LIBDIR)
$(OCAML_FIND) install arakoon_client -destdir $(OCAML_LIBDIR) META \
- _build/src/arakoon_client.cma \
- _build/src/arakoon_client.cmxa \
_build/src/client/arakoon_exc.mli \
_build/src/client/arakoon_exc.cmi \
_build/src/client/arakoon_client.mli \
_build/src/client/arakoon_client.cmi \
_build/src/client/arakoon_remote_client.mli \
- _build/src/client/arakoon_remote_client.cmi \
- _build/src/plugins/registry.mli \
- _build/src/plugins/registry.cmi \
- _build/src/tools/llio.mli \
- _build/src/tools/llio.cmi \
- _build/src/arakoon_client.a
+ _build/src/client/arakoon_remote_client.cmi
uninstall_client:
$(OCAML_FIND) remove arakoon_client -destdir $(OCAML_LIBDIR)
View
6 debian/changelog
@@ -1,5 +1,5 @@
-arakoon (1.0-dev) unstable; urgency=low
+arakoon (2.0-dev) unstable; urgency=low
- * Initial Release.
+ * Preview
- -- Romain Slootmaekers <romain@incubaid.com> Wed, 25 Jan 2012 15:35:54 +0100
+ -- Romain Slootmaekers <romain@incubaid.com> Tue, 29 May 2012 12:00:00 +0100
View
17 src/arakoon_client.mllib
@@ -1,19 +1,2 @@
Arakoon_remote_client
Arakoon_exc
-Sn
-Llio
-Update
-Common
-Log_extra
-Value
-Statistics
-Registry
-Routing
-Interval
-Ncfg
-Client_cfg
-Ini
-Inifiles
-Parseini
-Inilexer
-Client_log
View
4 src/hope/barakoon.ml
@@ -415,6 +415,9 @@ let only_test test_refs =
let _ = OUnit.run_test_tt nsuite in
()
+let run_tests () =
+ let _ = OUnit.run_test_tt Test.suite in
+ ()
let main () =
@@ -488,6 +491,7 @@ let main () =
| Benchmark -> Lwt_main.run (benchmark !config_file !max_n !value_size)
| LastEntries -> Lwt_main.run (last_entries !cluster_id !ip !port (Int64.of_string !is))
| ListTest -> list_test ()
+ | Test -> run_tests ()
| OnlyTest -> only_test !test_refs
| ShowUsage -> Arg.usage actions ""
| ShowVersion -> show_version()
View
2 src/hope/bstore_test.ml
@@ -28,7 +28,7 @@ let teardown ok (fn,t) =
let t_log () =
let test (fn,t) =
- let fn = "t_log.bs" in
+ let fn = Filename.temp_file"t_log_" ".bs" in
BStore.init fn >>= fun () ->
BStore.create fn false >>= fun t ->
let u = SET("x","x") in

0 comments on commit f2cbd56

Please sign in to comment.