mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Build configuration.
This commit is contained in:
parent
84af2a21f5
commit
0efcc73bea
2 changed files with 36 additions and 0 deletions
8
.travis.yml
Normal file
8
.travis.yml
Normal file
|
|
@ -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
|
||||||
28
opam
Normal file
28
opam
Normal file
|
|
@ -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"
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue