Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 156 lines (129 sloc) 2.819 kb
de07b13 @samoht Towards complete bootsraping
samoht authored
1 (* Uncomment to use with TypeRex *)
91c7f47 @samoht Revert part of the last commit to fix build
samoht authored
2 (*
de07b13 @samoht Towards complete bootsraping
samoht authored
3 ocamlc = [ "ocp-ocamlc.opt" ]
4 ocamlopt = [ "ocp-ocamlopt.opt" ]
91c7f47 @samoht Revert part of the last commit to fix build
samoht authored
5 *)
de07b13 @samoht Towards complete bootsraping
samoht authored
6
e951116 @samoht Fix ocp-get init
samoht authored
7 comp = [ "-g" ]
531fd70 @tuong move some parts to "protocol.ml", semantic remains preserved
tuong authored
8 link = [ "-g" ]
e951116 @samoht Fix ocp-get init
samoht authored
9
c980b5e @samoht [build] warning are errors for OPAM sources
samoht authored
10 begin
11 comp += [ "-annot" "-warn-error" "A" ]
12
ac99a15 @samoht More WIP ...
samoht authored
13 begin library "opam-lib"
c09ca7d @samoht Move sources files to src/
samoht authored
14 dirname = [ "src" ]
e951116 @samoht Fix ocp-get init
samoht authored
15 files = [
b582d5e @samoht Bits of refactoring
samoht authored
16 "globals.ml"
ac99a15 @samoht More WIP ...
samoht authored
17 "utils.ml"
45abc3d @samoht It is possible to have a list of possible servers (mixing git repo an…
samoht authored
18 "run.ml"
ba39c27 @samoht More WIP.
samoht authored
19 "parallel.ml"
20 "types.ml"
1bcaf57 @samoht New format for user provided files
samoht authored
21 "file_format.ml"
22 "lexer.mll"
1efd27d @samoht More WIP
samoht authored
23 "linelexer.mll"
1bcaf57 @samoht New format for user provided files
samoht authored
24 "parser.mly"
e357916 @samoht Fix ocp.ml into chunks
samoht authored
25 "path.ml"
26 "file.ml"
ac99a15 @samoht More WIP ...
samoht authored
27 "repositories.ml"
e357916 @samoht Fix ocp.ml into chunks
samoht authored
28 ]
29
750fc50 @samoht Add a first build skeleton
samoht authored
30 requires = [
31 "cudf"
32 "dose"
33 "unix"
de07b13 @samoht Towards complete bootsraping
samoht authored
34 "arg"
35 "graph"
b19514e @samoht [build] only use re_perl (instead of full re) and do not depend any m…
samoht authored
36 "re_perl"
750fc50 @samoht Add a first build skeleton
samoht authored
37 ]
5de848e Fixed ocp-get.ocp
Fabrice Le Fessant authored
38 end
e357916 @samoht Fix ocp.ml into chunks
samoht authored
39
ac99a15 @samoht More WIP ...
samoht authored
40 begin program "opam"
c09ca7d @samoht Move sources files to src/
samoht authored
41 dirname = [ "src" ]
2c9a85c @samoht More file spliting.
samoht authored
42 files = [
43 "solver.ml"
44 "client.ml"
ac99a15 @samoht More WIP ...
samoht authored
45 "opam.ml"
2c9a85c @samoht More file spliting.
samoht authored
46 ]
ac99a15 @samoht More WIP ...
samoht authored
47 requires = [ "opam-lib" ]
4dc9186 @samoht Add a basic server implementation
samoht authored
48 end
d72de1d @samoht More cleanups
samoht authored
49
50 (* Repository Scripts *)
51
bc5a548 @samoht [git] Add git repository pluggins
samoht authored
52 (* RSYNC *)
d72de1d @samoht More cleanups
samoht authored
53 begin program "opam-rsync-init"
54 files = [ "src/repo/rsync/init.ml" ]
55 requires = [ "opam-lib" ]
56 end
57
58 begin program "opam-rsync-update"
59 files = [ "src/repo/rsync/update.ml" ]
60 requires = [ "opam-lib" ]
c9ac582 @samoht Add missing opam.ocp update
samoht authored
61 end
62
63 begin program "opam-rsync-download"
64 files = [ "src/repo/rsync/download.ml" ]
65 requires = [ "opam-lib" ]
66 end
67
68 begin program "opam-rsync-upload"
69 files = [ "src/repo/rsync/upload.ml" ]
70 requires = [ "opam-lib" ]
71 end
72
bc5a548 @samoht [git] Add git repository pluggins
samoht authored
73
74 (* GIT *)
75 begin program "opam-git-init"
76 files = [ "src/repo/git/init.ml" ]
77 requires = [ "opam-lib" ]
78 end
79
80 begin program "opam-git-update"
81 files = [ "src/repo/git/update.ml" ]
82 requires = [ "opam-lib" ]
83 end
84
85 begin program "opam-git-download"
86 files = [ "src/repo/git/download.ml" ]
87 requires = [ "opam-lib" ]
88 end
89
90 begin program "opam-git-upload"
91 files = [ "src/repo/git/upload.ml" ]
92 requires = [ "opam-lib" ]
93 end
94
c882255 @samoht [opam server] start implementing the OPAM server repository pluggin.
samoht authored
95
96 (* SERVER *)
97 begin library "opam-server-lib"
98 files = [
99 "src/repo/server/protocol.ml"
100 "src/repo/server/key.ml"
101 "src/repo/server/client.ml"
102 ]
103 requires = [ "opam-lib" ]
104 end
105
106 begin program "opam-server"
bcd969d @samoht Fix build
samoht authored
107 files = [
108 "src/repo/server/daemon.ml"
109 "src/repo/server/server.ml"
110 ]
111 comp += [ "-thread" ]
112 link += [ "-thread" ]
113 requires = [
114 "opam-server-lib"
115 "threads"
116 ]
c882255 @samoht [opam server] start implementing the OPAM server repository pluggin.
samoht authored
117 end
118
119 begin program "opam-server-init"
120 files = [ "src/repo/server/init.ml" ]
121 requires = [ "opam-server-lib" ]
122 end
123
124 begin program "opam-server-update"
125 files = [ "src/repo/server/update.ml" ]
126 requires = [ "opam-server-lib" ]
127 end
128
129 begin program "opam-server-download"
130 files = [ "src/repo/server/download.ml" ]
131 requires = [ "opam-server-lib" ]
132 end
133
134 begin program "opam-server-upload"
135 files = [ "src/repo/server/upload.ml" ]
136 requires = [ "opam-server-lib" ]
137 end
c980b5e @samoht [build] warning are errors for OPAM sources
samoht authored
138
7e5fe8a @samoht Add helper scripts to build .config.in and .install
samoht authored
139 end
140
141 (* Helpers *)
142
143 begin program "opam-mk-config"
9fd1a52 @samoht [scripts] add a small script to initialize rsync and server repositories
samoht authored
144 files = [ "src/scripts/opam_mk_config.ml" ]
7e5fe8a @samoht Add helper scripts to build .config.in and .install
samoht authored
145 requires = [ "opam-lib" ]
146 end
147
148 begin program "opam-mk-install"
9fd1a52 @samoht [scripts] add a small script to initialize rsync and server repositories
samoht authored
149 files = [ "src/scripts/opam_mk_install.ml" ]
150 requires = [ "opam-lib" ]
151 end
152
153 begin program "opam-mk-repo"
154 files = [ "src/scripts/opam_mk_repo.ml" ]
7e5fe8a @samoht Add helper scripts to build .config.in and .install
samoht authored
155 requires = [ "opam-lib" ]
c980b5e @samoht [build] warning are errors for OPAM sources
samoht authored
156 end
Something went wrong with that request. Please try again.