Skip to content

Commit

Permalink
Add standard documentation and header
Browse files Browse the repository at this point in the history
Ignore-this: 4f2b8f2860dba2efffb403ce08d8e439

darcs-hash:20100331233029-a43a9-5787193f8818d8d45b3bf8ee8a9d98af2d03743d
  • Loading branch information
gildor478 committed Mar 31, 2010
1 parent 3404b0a commit 843834d
Show file tree
Hide file tree
Showing 158 changed files with 3,723 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.txt
@@ -0,0 +1,4 @@
2010-04-01 Sylvain Le Gall <sylvain.le-gall@ocamlcore.com>

* Initial version 0.1.0

534 changes: 534 additions & 0 deletions COPYING.txt

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions Makefile
@@ -1,3 +1,25 @@
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2008-2010, OCamlCore SARL #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################

default: TESTFLAGS=-long
default: test default: test


HAS_GETTEXT=$(shell if ocamlfind query gettext > /dev/null 2>&1; then \ HAS_GETTEXT=$(shell if ocamlfind query gettext > /dev/null 2>&1; then \
Expand Down Expand Up @@ -34,3 +56,7 @@ wc:
doc: all doc: all
env LANG=C _build/src/OASIS.byte -documentation > doc/MANUAL.mkd env LANG=C _build/src/OASIS.byte -documentation > doc/MANUAL.mkd


headache:
find ./ -name _darcs -prune -false -o -name _build -prune \
-o -name ext -prune -false -o -type f \
| xargs headache -h _header -c _headache.config
File renamed without changes.
File renamed without changes.
59 changes: 59 additions & 0 deletions _headache.config
@@ -0,0 +1,59 @@
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2008-2010, OCamlCore SARL #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################

| ".*\\.txt" -> no
| ".*\\.txt-exp" -> no
| ".*\\.html" -> no
| ".*\\.patch" -> no
| ".*\\.mkd" -> no
| ".*\\.mod" -> no
| ".*\\.mlify" -> no
| "configure" -> no
| ".*\\.sh" -> skip match:"#!.*"
| ".*\\.sh" -> frame open:"#" line:"#" close:"#"
| ".*\\.ml\\.ab" -> frame open:"(*" line:"*" close:"*)"
| ".*\\.ml" -> skip match:"(\\*pp .* \\*)"
| "_headache\\.config" -> frame open:"#" line:"#" close:"#"
| "_announce" -> no
| "_header" -> no
| ".*\\.swp" -> no
| ".*\\.po" -> no
| ".*\\.po.bak" -> no
| ".*\\.mo" -> no
| "META" -> frame open:"#" line:"#" close:"#"
| "POTFILES" -> no
| "LINGUAS" -> no
| ".*\\.pot" -> no
| ".*\\.png" -> no
| ".*\\.mllib" -> frame open:"#" line:"#" close:"#"
| ".*\\.itarget" -> frame open:"#" line:"#" close:"#"
| ".*\\.itarget.in" -> frame open:"#" line:"#" close:"#"
| ".*\\.odocl" -> frame open:"#" line:"#" close:"#"
| "_tags" -> frame open:"#" line:"#" close:"#"
| "installbuilder-license.xml" -> no
| ".*\\.oasis" -> no
| "_oasis" -> no
| "myconfigure" -> skip match:"#!.*"
| "myconfigure" -> frame open:"#" line:"#" close:"#"
| "myconfigure.bat" -> frame open:"rem" line:"=" close:" "
| "\\.boring" -> no
| ".*\\.pdf" -> no
| ".*\\.expect" -> frame open:"#" line:"#" close:"#"
18 changes: 18 additions & 0 deletions _header
@@ -0,0 +1,18 @@
OASIS: architecture for building OCaml libraries and applications

Copyright (C) 2008-2010, OCamlCore SARL

This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or (at
your option) any later version, with the OCaml static compilation
exception.

This library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more
details.

You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 changes: 21 additions & 0 deletions _tags
@@ -1,3 +1,24 @@
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2008-2010, OCamlCore SARL #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################

# Base system and OASIS library # Base system and OASIS library


"src/common": include "src/common": include
Expand Down
21 changes: 21 additions & 0 deletions doc/ext/fetch-doc.sh
@@ -1 +1,22 @@
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2008-2010, OCamlCore SARL #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################

wget -N "http://www.haskell.org/cabal/proposal/x611.html" wget -N "http://www.haskell.org/cabal/proposal/x611.html"
21 changes: 21 additions & 0 deletions examples/custom/LICENSE
@@ -0,0 +1,21 @@
********************************************************************************
* OASIS: architecture for building OCaml libraries and applications *
* *
* Copyright (C) 2008-2010, OCamlCore SARL *
* *
* This library is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Lesser General Public License as published by *
* the Free Software Foundation; either version 2.1 of the License, or (at *
* your option) any later version, with the OCaml static compilation *
* exception. *
* *
* This library is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more *
* details. *
* *
* You should have received a copy of the GNU Lesser General Public License *
* along with this library; if not, write to the Free Software Foundation, *
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
********************************************************************************

20 changes: 20 additions & 0 deletions examples/custom/TopMakefile
@@ -1,3 +1,23 @@
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2008-2010, OCamlCore SARL #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################


all: all:
cd src && $(OCAMLC) -c foo.mli bar.mli && $(OCAMLC) -a -o simplelib.cma foo.mli foo.ml bar.ml cd src && $(OCAMLC) -c foo.mli bar.mli && $(OCAMLC) -a -o simplelib.cma foo.mli foo.ml bar.ml
Expand Down
21 changes: 21 additions & 0 deletions examples/custom/myconfigure
@@ -1,3 +1,24 @@
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2008-2010, OCamlCore SARL #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################

#!/bin/sh #!/bin/sh


echo 'ocamlc="ocamlc"' > setup.data echo 'ocamlc="ocamlc"' > setup.data
20 changes: 20 additions & 0 deletions examples/custom/myconfigure.bat
@@ -1,2 +1,22 @@
rem==============================================================================
rem OASIS: architecture for building OCaml libraries and applications
rem
rem Copyright (C) 2008-2010, OCamlCore SARL
rem
rem This library is free software; you can redistribute it and/or modify it
rem under the terms of the GNU Lesser General Public License as published by
rem the Free Software Foundation; either version 2.1 of the License, or (at
rem your option) any later version, with the OCaml static compilation
rem exception.
rem
rem This library is distributed in the hope that it will be useful, but
rem WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
rem or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more
rem details.
rem
rem You should have received a copy of the GNU Lesser General Public License
rem along with this library; if not, write to the Free Software Foundation,
rem Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
rem==============================================================================


echo ocamlc="ocamlc" > setup.data echo ocamlc="ocamlc" > setup.data
21 changes: 21 additions & 0 deletions examples/custom/src/META
@@ -0,0 +1,21 @@
################################################################################
# OASIS: architecture for building OCaml libraries and applications #
# #
# Copyright (C) 2008-2010, OCamlCore SARL #
# #
# This library is free software; you can redistribute it and/or modify it #
# under the terms of the GNU Lesser General Public License as published by #
# the Free Software Foundation; either version 2.1 of the License, or (at #
# your option) any later version, with the OCaml static compilation #
# exception. #
# #
# This library is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY #
# or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more #
# details. #
# #
# You should have received a copy of the GNU Lesser General Public License #
# along with this library; if not, write to the Free Software Foundation, #
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #
################################################################################

20 changes: 20 additions & 0 deletions examples/custom/src/bar.ml
@@ -1,3 +1,23 @@
(********************************************************************************)
(* OASIS: architecture for building OCaml libraries and applications *)
(* *)
(* Copyright (C) 2008-2010, OCamlCore SARL *)
(* *)
(* This library is free software; you can redistribute it and/or modify it *)
(* under the terms of the GNU Lesser General Public License as published by *)
(* the Free Software Foundation; either version 2.1 of the License, or (at *)
(* your option) any later version, with the OCaml static compilation *)
(* exception. *)
(* *)
(* This library is distributed in the hope that it will be useful, but *)
(* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *)
(* or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING for more *)
(* details. *)
(* *)
(* You should have received a copy of the GNU Lesser General Public License *)
(* along with this library; if not, write to the Free Software Foundation, *)
(* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *)
(********************************************************************************)


type t = string type t = string


Expand Down

0 comments on commit 843834d

Please sign in to comment.