diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..b3cc7f0f5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: c +sudo: required +install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh +script: bash -ex .travis-opam.sh +env: + - OCAML_VERSION=4.06 +os: + - linux \ No newline at end of file diff --git a/opam b/opam new file mode 100644 index 000000000..25174bcbc --- /dev/null +++ b/opam @@ -0,0 +1,28 @@ +opam-version: "1.2" +authors: "dboulytchev@gmail.com" +maintainer: "dboulytchev@gmail.com" +version: "0.3" +homepage: "https://github.com/dboulytchev/compiler-workout" +bug-reports: "https://github.com/dboulytchev/compiler-workout/issues" +dev-repo: "git+https://github.com/dboulytchev/compiler-workout.git" + +build: [ + [make "-f" "Makefile" ] +] + +install: [make "-f" "Makefile" "PREFIX=%{prefix}%" "install"] +remove: ["ocamlfind" "remove" "compiler-workout"] +flags: [ light-uninstall ] + +build-test: [ + [make "-f" "Makefile.ob" "test"] +] + +depends: [ + "ocamlbuild" {build} + "ocamlfind" + "camlp5" + "ostap" + "GT" + "re" +] \ No newline at end of file