mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +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
|
||||
|
||||
.PHONY: all
|
||||
.PHONY: all regression
|
||||
|
||||
all:
|
||||
pushd src && make && popd
|
||||
|
||||
install: ;
|
||||
|
||||
regression:
|
||||
pushd regression && ./test.sh && popd
|
||||
|
||||
clean:
|
||||
pushd src && make clean && popd
|
||||
|
||||
|
|
|
|||
|
|
@ -12,5 +12,3 @@ Building:
|
|||
* `opam install GT`
|
||||
* To build the sources: `make` from the top project directory
|
||||
* 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