mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 14:58:50 +00:00
Merge branch 'master' of https://github.com/dboulytchev/compiler-workout
This commit is contained in:
commit
761d472ec1
4 changed files with 41 additions and 3 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/anlun/ocaml-ci-scripts/patch-1/.travis-opam.sh
|
||||||
|
script: bash -ex .travis-opam.sh
|
||||||
|
env:
|
||||||
|
- OCAML_VERSION=4.06
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
7
Makefile
7
Makefile
|
|
@ -1,10 +1,15 @@
|
||||||
SHELL := /bin/bash
|
SHELL := /bin/bash
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all regression
|
||||||
|
|
||||||
all:
|
all:
|
||||||
pushd src && make && popd
|
pushd src && make && popd
|
||||||
|
|
||||||
|
install: ;
|
||||||
|
|
||||||
|
regression:
|
||||||
|
pushd regression && ./test.sh && popd
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
pushd src && make clean && popd
|
pushd src && make clean && popd
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,3 @@ Building:
|
||||||
* `opam install GT`
|
* `opam install GT`
|
||||||
* To build the sources: `make` from the top project directory
|
* To build the sources: `make` from the top project directory
|
||||||
* To test: `test.sh` from `regression` subfolder
|
* To test: `test.sh` from `regression` subfolder
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
27
opam
Normal file
27
opam
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
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" ]
|
||||||
|
]
|
||||||
|
|
||||||
|
remove: ["ocamlfind" "remove" "compiler-workout"]
|
||||||
|
flags: [ light-uninstall ]
|
||||||
|
|
||||||
|
build-test: [
|
||||||
|
[make "-f" "Makefile" "regression"]
|
||||||
|
]
|
||||||
|
|
||||||
|
depends: [
|
||||||
|
"ocamlbuild" {build}
|
||||||
|
"ocamlfind"
|
||||||
|
"camlp5"
|
||||||
|
"ostap"
|
||||||
|
"GT"
|
||||||
|
"re"
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue