-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit with basic functionality
- Loading branch information
0 parents
commit 90ea95d
Showing
28 changed files
with
7,994 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# ocaml binaries/build files | ||
*.annot | ||
*.cmo | ||
*.cma | ||
*.cmi | ||
*.a | ||
*.o | ||
*.cmx | ||
*.cmxs | ||
*.cmxa | ||
_build | ||
setup.data | ||
setup.log | ||
*.native | ||
*.docdir | ||
|
||
# Eclipse/OcalIDE project settings | ||
.paths | ||
.project | ||
.projectSettings | ||
.settings | ||
|
||
# Application configuration files | ||
*.conf | ||
|
||
# Opam release files | ||
opam-releases | ||
|
||
# Vi temporary files | ||
*.swp |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright (c) 2014 Dominic Price <[email protected]> | ||
|
||
Permission to use, copy, modify, and distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
copyright notice and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954) | ||
|
||
SETUP = ocaml setup.ml | ||
|
||
build: setup.data | ||
$(SETUP) -build $(BUILDFLAGS) | ||
|
||
doc: setup.data build | ||
$(SETUP) -doc $(DOCFLAGS) | ||
|
||
test: setup.data build | ||
$(SETUP) -test $(TESTFLAGS) | ||
|
||
all: | ||
$(SETUP) -all $(ALLFLAGS) | ||
|
||
install: setup.data | ||
$(SETUP) -install $(INSTALLFLAGS) | ||
|
||
uninstall: setup.data | ||
$(SETUP) -uninstall $(UNINSTALLFLAGS) | ||
|
||
reinstall: setup.data | ||
$(SETUP) -reinstall $(REINSTALLFLAGS) | ||
|
||
clean: | ||
$(SETUP) -clean $(CLEANFLAGS) | ||
|
||
distclean: | ||
$(SETUP) -distclean $(DISTCLEANFLAGS) | ||
|
||
setup.data: | ||
$(SETUP) -configure $(CONFIGUREFLAGS) | ||
|
||
configure: | ||
$(SETUP) -configure $(CONFIGUREFLAGS) | ||
|
||
.PHONY: build doc test all install uninstall reinstall clean distclean configure | ||
|
||
# OASIS_STOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Lightweight Maildir wrapper | ||
--------------------------- | ||
|
||
Provides a very lightweight wrapper around filesystem or Irmin | ||
implementations of a Maildir. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
OASISFormat: 0.4 | ||
Name: sociaml-maildir | ||
Version: 0.1.0 | ||
Synopsis: Lightweight Maildir wrapper | ||
Description: | ||
Provides a very lightweight wrapper around filesystem or Irmin | ||
implementations of a Maildir. | ||
Authors: Dominic Price | ||
Copyrights: (C) 2014 Horizon Digital Economy Research | ||
LicenseFile: LICENSE | ||
License: ISC | ||
Homepage: https://github.com/dominicjprice/sociaml-maildir | ||
Plugins: META (0.4), DevFiles (0.4) | ||
BuildTools: ocamlbuild, ocamldoc, make, awk | ||
|
||
Library sociaml_maildir | ||
Path: src | ||
Findlibname: sociaml_maildir | ||
Modules: Sociaml_maildir | ||
Pack: false | ||
BuildDepends: | ||
lwt | ||
|
||
Library filesystem | ||
Path: src | ||
Findlibname: filesystem | ||
FindlibParent: sociaml_maildir | ||
Modules: Filesystem | ||
Pack: false | ||
BuildDepends: | ||
lwt, | ||
maildir, | ||
sociaml_maildir | ||
|
||
Library irminstore | ||
Path: src | ||
Findlibname: irminstore | ||
FindlibParent: sociaml_maildir | ||
Modules: Irminstore | ||
Pack: false | ||
BuildDepends: | ||
lwt, | ||
irmin, | ||
sociaml_maildir | ||
|
||
Document sociaml_maildir | ||
Type: ocamlbuild (0.1.0) | ||
Title: sociaml-maildir Reference | ||
Authors: Dominic Price | ||
Format: HTML | ||
Index: index.html | ||
InstallDir: $htmldir/sociaml-maildir | ||
XOCamlbuildPath: | ||
src | ||
XOCamlbuildLibraries: | ||
sociaml_maildir, | ||
sociaml_maildir.filesystem, | ||
sociaml_maildir.irminstore | ||
|
||
SourceRepository head | ||
Type: git | ||
Location: https://github.com/dominicjprice/sociaml-maildir.git | ||
Browser: https://github.com/dominicjprice/sociaml-maildir | ||
Branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: 4c91e0c4f46f439f3894d41b56b58525) | ||
# Ignore VCS directories, you can use the same kind of rule outside | ||
# OASIS_START/STOP if you want to exclude directories that contains | ||
# useless stuff for the build process | ||
true: annot, bin_annot | ||
<**/.svn>: -traverse | ||
<**/.svn>: not_hygienic | ||
".bzr": -traverse | ||
".bzr": not_hygienic | ||
".hg": -traverse | ||
".hg": not_hygienic | ||
".git": -traverse | ||
".git": not_hygienic | ||
"_darcs": -traverse | ||
"_darcs": not_hygienic | ||
# Library sociaml_maildir | ||
"src/sociaml_maildir.cmxs": use_sociaml_maildir | ||
# Library filesystem | ||
"src/filesystem.cmxs": use_filesystem | ||
<src/*.ml{,i,y}>: pkg_maildir | ||
# Library irminstore | ||
"src/irminstore.cmxs": use_irminstore | ||
<src/*.ml{,i,y}>: pkg_irmin | ||
<src/*.ml{,i,y}>: pkg_lwt | ||
<src/*.ml{,i,y}>: use_sociaml_maildir | ||
# OASIS_STOP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# OASIS_START | ||
# DO NOT EDIT (digest: dc86c2ad450f91ca10c931b6045d0499) | ||
set -e | ||
|
||
FST=true | ||
for i in "$@"; do | ||
if $FST; then | ||
set -- | ||
FST=false | ||
fi | ||
|
||
case $i in | ||
--*=*) | ||
ARG=${i%%=*} | ||
VAL=${i##*=} | ||
set -- "$@" "$ARG" "$VAL" | ||
;; | ||
*) | ||
set -- "$@" "$i" | ||
;; | ||
esac | ||
done | ||
|
||
ocaml setup.ml -configure "$@" | ||
# OASIS_STOP |
Oops, something went wrong.