Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Commit 83cc515

Browse files
committed
Removed unneeded makefile targets and merged the build recipe into one instruction. Updated travis file.
Signed-off-by: Konstantina Chremmou <[email protected]>
1 parent 59e97de commit 83cc515

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*.orig
22
*.rej
3-
*.native
43
_build
54
.merlin
5+
*.install

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ before_install:
1111
install:
1212
- wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
1313
script:
14-
- bash -ex .travis-opam.sh
14+
- cp xen-api-sdk.opam opam && bash -ex .travis-opam.sh
1515
env:
1616
global:
1717
- OCAML_VERSION=4.02
1818
- TESTS=false
19+
- INSTALL=false
1920
matrix:
2021
- BASE_REMOTE=git://github.com/xapi-project/xs-opam
2122
- EXTRA_REMOTES=git://github.com/xapi-project/xs-opam

Makefile

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,16 @@ ifndef SR_XML
4141
endif
4242

4343
build:
44-
jbuilder build c/gen_c_binding.exe
45-
jbuilder build csharp/gen_csharp_binding.exe
46-
jbuilder build java/main.exe
47-
jbuilder build powershell/gen_powershell_binding.exe
48-
49-
release:
50-
jbuilder build @install
51-
52-
install:
53-
jbuilder install
54-
55-
uninstall:
56-
jbuilder uninstall
44+
jbuilder build \
45+
c/gen_c_binding.exe \
46+
csharp/gen_csharp_binding.exe \
47+
java/main.exe \
48+
powershell/gen_powershell_binding.exe
5749

5850
clean:
5951
jbuilder clean
6052

61-
.PHONY: build release instal uninstall clean
53+
.PHONY: build clean
6254

6355
c: build
6456
_build/default/c/gen_c_binding.exe -d _build/default/c/autogen -t c/templates

0 commit comments

Comments
 (0)