this repo has no description
1opam-version: "2.0"
2maintainer: "Edgar Aroutiounian <edgar.factorial@gmail.com>"
3authors: [ "Edgar Aroutiounian <edgar.factorial@gmail.com>" ]
4license: "BSD-3-Clause"
5homepage: "https://github.com/fxfactorial/ocaml-starterkit"
6depends: [
7 "ocaml"
8 "lambda-term" {< "2.0"}
9 "ocp-indent"
10 "stringext"
11 "utop"
12 "ocp-index"
13 "merlin"
14 "ocamlfind"
15 "oasis"
16 "ocamlbuild"
17]
18post-messages: [
19"Welcome to OCaml coding, here's an example _oasis file"
20"
21
22OASISFormat: 0.4
23OCamlVersion: >= 4.02.0
24Name: opam_package_name
25Version: 0.1.0
26Maintainers: New OCaml programmer
27Homepage: http://my_coolsite.com
28Synopsis: Some short description
29Authors: Cool@me.com
30License: BSD-3-clause
31Plugins: META (0.4), DevFiles (0.4)
32AlphaFeatures: ocamlbuild_more_args
33
34Description:
35Some cool description
36
37# This is a comment and this below creates an binary program
38Executable <some_program_name>
39 Path: src
40 BuildTools:ocamlbuild
41 install: true
42 MainIs: main.ml
43 CompiledObject: native
44 BuildDepends: package_one, package_two
45
46# Another comment, this builds a library called pg
47Library pg
48 Path: src
49 # oasis will figure out the dependencies,
50 # Just list the modules you want public,
51 # Note that there's no .ml, just give the name
52 Modules: Pg
53 CompiledObject: best
54 BuildDepends: some_package, another_package
55
56# Here's one that uses C/C++ code, adapt as needed
57Library lib_with_c
58 Path: src
59 BuildTools:ocamlbuild
60 install: true
61 CClib: -L/usr/local/lib -lfoo -lbar -lstdc++
62 CCOpt: -g -Wall -std=c++11 -x c++ -I/usr/local/include
63 NativeOpt: -cc g++
64 ByteOpt: -cc g++
65 Modules: Some_lib
66 CompiledObject: best
67 CSources: some_lib_stubs.c
68 BuildDepends: opam_lib1, opam_lib2
69"
70
71"Auto generate everything with:
72
73`oasis setup -setup-update dynamic`
74
75then a simple
76
77`make` builds your project.
78
79"
80]
81synopsis: "Virtual package for starting OCaml"
82description: """
83Welcome to OCaml coding, here's an example _oasis file to get you
84started
85
86OASISFormat: 0.4
87OCamlVersion: >= 4.02.0
88Name: opam_package_name
89Version: 0.1.0
90Maintainers: New OCaml programmer
91Homepage: http://my_coolsite.com
92Synopsis: Some short description
93Authors: Cool@me.com
94License: BSD-3-clause
95Plugins: META (0.4), DevFiles (0.4)
96AlphaFeatures: ocamlbuild_more_args
97
98Description:
99Some cool description
100
101# This is a comment and this below creates an binary program
102Executable <some_program_name>
103 Path: src
104 BuildTools:ocamlbuild
105 install: true
106 MainIs: main.ml
107 CompiledObject: native
108 BuildDepends: package_one, package_two
109
110# Another comment, this builds a library called pg
111Library pg
112 Path: src
113 # oasis will figure out the dependencies,
114 # Just list the modules you want public,
115 # Note that there's no .ml, just give the name
116 Modules: Pg
117 CompiledObject: best
118 BuildDepends: some_package, another_package
119
120# Here's one that uses C/C++ code, adapt as needed
121Library lib_with_c
122 Path: src
123 BuildTools:ocamlbuild
124 install: true
125 CClib: -L/usr/local/lib -lfoo -lbar -lstdc++
126 CCOpt: -g -Wall -std=c++11 -x c++ -I/usr/local/include
127 NativeOpt: -cc g++
128 ByteOpt: -cc g++
129 Modules: Some_lib
130 CompiledObject: best
131 CSources: some_lib_stubs.c
132 BuildDepends: opam_lib1, opam_lib2
133
134
135Auto generate everything with:
136
137`oasis setup -setup-update dynamic`
138
139then a simple
140
141`make` builds your project."""
142dev-repo: "git+https://github.com/fxfactorial/ocaml-starterkit.git"