Skip to content

Commit

Permalink
Get rid of please.mlt for this project
Browse files Browse the repository at this point in the history
  • Loading branch information
smondet committed Feb 18, 2020
1 parent cfa3e7a commit 8622361
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 326 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ You can also build locally:
You need OCaml ≥ 4.03.0 together with
[`nonstd`](http://www.hammerlab.org/docs/nonstd/master/index.html),
[`sosa`](http://www.hammerlab.org/docs/sosa/master/index.html), and
[`jbuilder`](https://github.com/janestreet/jbuilder):
[`dune`](https://github.com/janestreet/dune):

ocaml please.mlt configure
jbuilder build @install
dune build @install

Getting Started
---------------
Expand Down Expand Up @@ -148,7 +147,7 @@ To run the tests you also need `make` and there is an additional dependency on
the `uri` library, see:

genspio_test=_build/default/src/test/main.exe
jbuilder build $genspio_test
dune build $genspio_test
$genspio_test --help


Expand Down
2 changes: 1 addition & 1 deletion doc/extra-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ provides a command line tool to generate “Qemu” environments.
You can build it with:

export genspio_vm_tester=_build/default/src/examples/vm_tester.exe
jbuilder build $genspio_vm_tester
dune build $genspio_vm_tester

A version is also available in the genspio-doc docker-images (note that the
[build](https://hub.docker.com/r/smondet/genspio-doc-dockerfiles/builds/)
Expand Down
2 changes: 0 additions & 2 deletions genspio.opam
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# This Opam file was auto-generated, see the `please.mlt` script.
opam-version: "2.0"
maintainer: "Seb Mondet <seb@mondet.org>"
authors: [
Expand All @@ -10,7 +9,6 @@ dev-repo: "git+https://github.com/hammerlab/genspio.git"
license: "Apache 2.0"
version: "0.0.3-dev"
build: [
["ocaml" "please.mlt" "configure"]
["dune" "build" "-p" name "-j" jobs ]
]
depends: [
Expand Down
70 changes: 0 additions & 70 deletions please.mlt

This file was deleted.

1 change: 0 additions & 1 deletion src/examples/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
;; Generated by `please_lib.ml`
(executable (name downloader) (libraries genspio nonstd sosa)(modules downloader))
(executable (name vm_tester) (libraries genspio nonstd sosa)(modules vm_tester))
(executable (name service_composer) (libraries unix genspio nonstd sosa)(modules service_composer))
Expand Down
2 changes: 1 addition & 1 deletion src/examples/multigit.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A simple way to generate and install the scripts is:
genspio_multigit=_build/default/src/examples/multigit.exe
jbuilder build $genspio_multigit
dune build $genspio_multigit
$genspio_multigit $BINNPATH
*)
Expand Down
2 changes: 1 addition & 1 deletion src/examples/service_composer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ modules.
A simple way to generate and install the scripts is:
genspio_service_composer=_build/default/src/examples/service_composer.exe
jbuilder build $genspio_service_composer
dune build $genspio_service_composer
$genspio_service_composer --name cosc --output-path $BINNPATH
The `cosc*` scripts will be installed and ready to use in `$BINPATH`
Expand Down
1 change: 0 additions & 1 deletion src/lib/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
;; Generated by `please_lib.ml`
(rule (targets meta.ml)(deps )(action (progn
(write-file "meta.ml" "(** Metadata Module Generated by the Build System *)\n\nlet version = \"0.0.3-dev\""))))
(library (name genspio) (public_name genspio) (libraries nonstd sosa) )
1 change: 0 additions & 1 deletion src/test-lib/dune
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
;; Generated by `please_lib.ml`
(library (name tests) (libraries genspio uri nonstd sosa) )
2 changes: 1 addition & 1 deletion src/test/dune
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
;; Generated by `please_lib.ml`
(executable (name main) (libraries genspio tests nonstd sosa))

7 changes: 3 additions & 4 deletions tools/build-doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ set -e

genspio_small_examples=_build/default/src/examples/small_examples.exe

ocaml please.mlt configure
jbuilder build @install
jbuilder build @doc
jbuilder build $genspio_small_examples
dune build @install
dune build @doc
dune build $genspio_small_examples

export output_path=_build/doc/html/
rm -fr $output_path
Expand Down
230 changes: 0 additions & 230 deletions tools/please_lib.ml

This file was deleted.

Loading

0 comments on commit 8622361

Please sign in to comment.