Skip to content
Permalink
Browse files

Setup headache.

Ignore-this: 847a8c4989f08c4785a05077312ade37

darcs-hash:20130929223143-4d692-0ec20e81675d57372f424ffa2368075b8c3d721b
  • Loading branch information...
gildor478 committed Sep 29, 2013
1 parent 902408f commit b932240bd013a5e01703a3581aa024d1b902b033
Showing with 126 additions and 0 deletions.
  1. +1 −0 LICENSE.txt
  2. +10 −0 Makefile
  3. +62 −0 _headache.config
  4. +29 −0 _header
  5. +7 −0 src/oUnit.css
  6. +7 −0 src/oUnit.js
  7. +9 −0 src/oUnit.ml
  8. +1 −0 src/oUnit.mli
@@ -1,5 +1,6 @@
Copyright (c) 2002, 2003 by Maas-Maarten Zeeman
Copyright (c) 2010 by OCamlCore SARL
Copyright (C) 2013 Sylvain Le Gall

The package OUnit is copyright by Maas-Maarten Zeeman and OCamlCore SARL.

@@ -82,3 +82,13 @@ fix-perms:
chmod +x doc-dist.sh

.PHONY: fix-perms

headache:
find ./ \
-name _darcs -prune -false \
-o -name _build -prune -false \
-o -name dist -prune -false \
-o -name '*[^~]' -type f \
| xargs headache -h _header -c _headache.config

.PHONY: headache
@@ -0,0 +1,62 @@
################################################################################
# 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:"*)" margin:" "
| ".*\\.mli?" -> skip match:"(\\*pp .* \\*)"
| ".*\\.mli?" -> frame open:"(*" line:"*" close:"*)" margin:" "
| "_headache\\.config" -> frame open:"#" line:"#" close:"#"
| "META" -> frame open:"#" line:"#" close:"#"
| ".*\\.js" -> frame open:"/*" line:"*" close:"*/" margin:" "
| ".*\\.css" -> frame open:"/*" line:"*" close:"*/" margin:" "
| "_announce" -> no
| "_header" -> no
| ".*\\.swp" -> no
| ".*\\.po" -> no
| ".*\\.po.bak" -> no
| ".*\\.mo" -> no
| "POTFILES" -> no
| "LINGUAS" -> no
| ".*\\.pot" -> no
| ".*\\.png" -> no
| ".*\\.mllib" -> no
| ".*\\.itarget" -> no
| ".*\\.itarget.in" -> no
| ".*\\.odocl" -> no
| "_tags" -> no
| "\\.boring" -> no
| ".*\\.pdf" -> no
| "setup\\.log" -> no
| "setup\\.data" -> no
| ".*\\.data" -> no
| ".*\\.tar\\.gz" -> no
| ".*\\.tar\\.gz\\.asc" -> no
| "\\.gitignore" -> no
| ".*\\.lua" -> no
29 _header
@@ -0,0 +1,29 @@
The OUnit library

Copyright (C) 2002-2008 Maas-Maarten Zeeman.
Copyright (C) 2010 OCamlCore SARL
Copyright (C) 2013 Sylvain Le Gall

The package OUnit is copyright by Maas-Maarten Zeeman, OCamlCore SARL
and Sylvain Le Gall.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this document and the OUnit software ("the Software"), to
deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons
to whom the Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

The Software is provided ``as is'', without warranty of any kind,
express or implied, including but not limited to the warranties of
merchantability, fitness for a particular purpose and noninfringement.
In no event shall Maas-Maarten Zeeman be liable for any claim, damages
or other liability, whether in an action of contract, tort or
otherwise, arising from, out of or in connection with the Software or
the use or other dealings in the software.

See LICENSE.txt for details.
@@ -1,3 +1,10 @@
/***********************************************************************
* The OUnit library *
* *
* Copyright (C) 2013 Sylvain Le Gall. *
* *
* See LICENSE for details. *
***********************************************************************/

h1 {
font-size: 26px;
@@ -1,3 +1,10 @@
/***********************************************************************
* The OUnit library *
* *
* Copyright (C) 2013 Sylvain Le Gall. *
* *
* See LICENSE for details. *
***********************************************************************/

var successHidden = true;

@@ -1,3 +1,12 @@
(***********************************************************************)
(* The OUnit library *)
(* *)
(* Copyright (C) 2002-2008 Maas-Maarten Zeeman. *)
(* Copyright (C) 2010 OCamlCore SARL *)
(* Copyright (C) 2013 Sylvain Le Gall. *)
(* *)
(* See LICENSE for details. *)
(***********************************************************************)

open OUnitUtils

@@ -3,6 +3,7 @@
(* *)
(* Copyright (C) 2002-2008 Maas-Maarten Zeeman. *)
(* Copyright (C) 2010 OCamlCore SARL *)
(* Copyright (C) 2013 Sylvain Le Gall. *)
(* *)
(* See LICENSE for details. *)
(***********************************************************************)

0 comments on commit b932240

Please sign in to comment.
You can’t perform that action at this time.