Skip to content

Commit

Permalink
Install files from share/
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrice Le Fessant authored and lefessan committed Nov 23, 2020
1 parent a35a681 commit 0f971a7
Show file tree
Hide file tree
Showing 95 changed files with 946 additions and 795 deletions.
50 changes: 45 additions & 5 deletions .drom
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# hash of toml configuration files
# used for generation of all files
6abae2aeed44129654c139a06f0e2098:.
a54f1599539c69089fc5e867841802f3:.
# end context for .

# begin context for .github/workflows/doc-deploy.yml
Expand Down Expand Up @@ -50,6 +50,11 @@ b091dd96e8b553dd7a7df285279d7d9e:README.md
17799aeb2a3684b565725290ec32e65b:docs/README.txt
# end context for docs/README.txt

# begin context for docs/doc/index.html
# file docs/doc/index.html
8c90147085379063e18134a7f18f079b:docs/doc/index.html
# end context for docs/doc/index.html

# begin context for docs/favicon.png
# file docs/favicon.png
7ea9be52d489cbe8c03b43ecf6b2650f:docs/favicon.png
Expand All @@ -60,6 +65,11 @@ b091dd96e8b553dd7a7df285279d7d9e:README.md
0f8b4e9f9f5fdd8a79cf4053ace6d538:docs/index.html
# end context for docs/index.html

# begin context for docs/sphinx/index.html
# file docs/sphinx/index.html
8a2ddf0ce1706457ec54652cf0f5ffac:docs/sphinx/index.html
# end context for docs/sphinx/index.html

# begin context for docs/style.css
# file docs/style.css
0085152add896d7bab7b1a744d2a9af7:docs/style.css
Expand Down Expand Up @@ -87,14 +97,19 @@ ee64c3075a8538db8e430a1e1ad14d3d:drom.opam

# begin context for dune
# file dune
98c11e37721cb315a42ed2faf15bd729:dune
ff0b2308dfc7350e6ac7d519836f9e47:dune
# end context for dune

# begin context for dune-project
# file dune-project
a94fcde8bc294eecbbc89f066e4409e6:dune-project
7b6756c8e6e5798c10edfbe0b34f41e3:dune-project
# end context for dune-project

# begin context for dune_
# file dune_
95cb2bda64be9fde1bc823af2599dfd8:dune_
# end context for dune_

# begin context for sphinx/_static/css/fixes.css
# file sphinx/_static/css/fixes.css
68b329da9893e34099c7d8ad5cb9c940:sphinx/_static/css/fixes.css
Expand Down Expand Up @@ -130,14 +145,19 @@ cf3f86e8f7d8e90e663c3cb7e438057d:sphinx/license.rst
442ce58a26064594fbb32b24da38bd15:src/drom/dune
# end context for src/drom/dune

# begin context for src/drom/dune_
# file src/drom/dune_
442ce58a26064594fbb32b24da38bd15:src/drom/dune_
# end context for src/drom/dune_

# begin context for src/drom/index.mld
# file src/drom/index.mld
d947d2a8c369bc5ff232874cc3b568ac:src/drom/index.mld
# end context for src/drom/index.mld

# begin context for src/drom/main.ml
# file src/drom/main.ml
c46773d55a9a80e19cd0e807cb36262e:src/drom/main.ml
a8b8d27eed41f01c76e6535dbd620f52:src/drom/main.ml
# end context for src/drom/main.ml

# begin context for src/drom/package.toml
Expand All @@ -147,9 +167,14 @@ c46773d55a9a80e19cd0e807cb36262e:src/drom/main.ml

# begin context for src/drom_lib/dune
# file src/drom_lib/dune
ad522c719d875f71f8d8e0fbc61ddefe:src/drom_lib/dune
6fbe050e4f0c8f0f7fc290b66d3389ae:src/drom_lib/dune
# end context for src/drom_lib/dune

# begin context for src/drom_lib/dune_
# file src/drom_lib/dune_
6fbe050e4f0c8f0f7fc290b66d3389ae:src/drom_lib/dune_
# end context for src/drom_lib/dune_

# begin context for src/drom_lib/index.mld
# file src/drom_lib/index.mld
dfda02aaec08f18742582243e9cd6748:src/drom_lib/index.mld
Expand All @@ -170,6 +195,11 @@ fab8224b1866cef1103bca89068b73fe:src/drom_lib/version.ml
f15fedac6f43c154bcd0348b776ac08c:test/expect-tests/dune
# end context for test/expect-tests/dune

# begin context for test/expect-tests/dune_
# file test/expect-tests/dune_
f15fedac6f43c154bcd0348b776ac08c:test/expect-tests/dune_
# end context for test/expect-tests/dune_

# begin context for test/expect-tests/test.ml
# file test/expect-tests/test.ml
16aa6d750c44bb58dc22a8c2a06d1534:test/expect-tests/test.ml
Expand All @@ -180,6 +210,11 @@ f15fedac6f43c154bcd0348b776ac08c:test/expect-tests/dune
75d7504f9c8002ec5ccdd2458f01da09:test/inline-tests/dune
# end context for test/inline-tests/dune

# begin context for test/inline-tests/dune_
# file test/inline-tests/dune_
75d7504f9c8002ec5ccdd2458f01da09:test/inline-tests/dune_
# end context for test/inline-tests/dune_

# begin context for test/inline-tests/test.ml
# file test/inline-tests/test.ml
e001d04969100c711855223ad6c23e6a:test/inline-tests/test.ml
Expand All @@ -190,6 +225,11 @@ e001d04969100c711855223ad6c23e6a:test/inline-tests/test.ml
28db2068920c1259cbd67a7c322730ed:test/output-tests/dune
# end context for test/output-tests/dune

# begin context for test/output-tests/dune_
# file test/output-tests/dune_
28db2068920c1259cbd67a7c322730ed:test/output-tests/dune_
# end context for test/output-tests/dune_

# begin context for test/output-tests/test1.expected
# file test/output-tests/test1.expected
f0ef7081e1539ac00ef5b761b4fb01b3:test/output-tests/test1.expected
Expand Down
15 changes: 15 additions & 0 deletions docs/doc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

<h1>API documentation for drom</h1>
<p>You need to run the following commands in the project to generate this doc:
<pre>
make doc
</pre>
or
<pre>
drom doc
</pre>
and then:
<pre>
git add docs/doc
</pre>
</p>
15 changes: 15 additions & 0 deletions docs/sphinx/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

<h1>Sphinx doc for drom</h1>
<p>You need to run the following commands in the project to generate this doc:
<pre>
make sphinx
</pre>
or
<pre>
drom sphinx
</pre>
and then:
<pre>
git add docs/sphinx
</pre>
</p>
124 changes: 123 additions & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,127 @@
)

)
(dirs src test vendors )
(dirs share src test vendors )

(install
(files
( "share/drom/licenses/BSD2.toml"
as "licenses/BSD2.toml")
( "share/drom/licenses/BSD3.toml"
as "licenses/BSD3.toml")
( "share/drom/licenses/GPL3.toml"
as "licenses/GPL3.toml")
( "share/drom/licenses/ISC.toml"
as "licenses/ISC.toml")
( "share/drom/licenses/LGPL2.toml"
as "licenses/LGPL2.toml")
( "share/drom/licenses/MIT.toml"
as "licenses/MIT.toml")
( "share/drom/skeletons/README.md"
as "skeletons/README.md")
( "share/drom/skeletons/packages/driver/files/dune_"
as "skeletons/packages/driver/files/dune_")
( "share/drom/skeletons/packages/driver/files/main.ml"
as "skeletons/packages/driver/files/main.ml")
( "share/drom/skeletons/packages/driver/package.toml"
as "skeletons/packages/driver/package.toml")
( "share/drom/skeletons/packages/driver/skeleton.toml"
as "skeletons/packages/driver/skeleton.toml")
( "share/drom/skeletons/packages/library/files/dune_"
as "skeletons/packages/library/files/dune_")
( "share/drom/skeletons/packages/library/files/main.ml"
as "skeletons/packages/library/files/main.ml")
( "share/drom/skeletons/packages/library/package.toml"
as "skeletons/packages/library/package.toml")
( "share/drom/skeletons/packages/library/skeleton.toml"
as "skeletons/packages/library/skeleton.toml")
( "share/drom/skeletons/packages/program/files/dune_"
as "skeletons/packages/program/files/dune_")
( "share/drom/skeletons/packages/program/files/main.ml"
as "skeletons/packages/program/files/main.ml")
( "share/drom/skeletons/packages/program/package.toml"
as "skeletons/packages/program/package.toml")
( "share/drom/skeletons/packages/program/skeleton.toml"
as "skeletons/packages/program/skeleton.toml")
( "share/drom/skeletons/packages/virtual/package.toml"
as "skeletons/packages/virtual/package.toml")
( "share/drom/skeletons/packages/virtual/skeleton.toml"
as "skeletons/packages/virtual/skeleton.toml")
( "share/drom/skeletons/projects/library/project.toml"
as "skeletons/projects/library/project.toml")
( "share/drom/skeletons/projects/library/skeleton.toml"
as "skeletons/projects/library/skeleton.toml")
( "share/drom/skeletons/projects/program/project.toml"
as "skeletons/projects/program/project.toml")
( "share/drom/skeletons/projects/program/skeleton.toml"
as "skeletons/projects/program/skeleton.toml")
( "share/drom/skeletons/projects/virtual/files/CHANGES.md"
as "skeletons/projects/virtual/files/CHANGES.md")
( "share/drom/skeletons/projects/virtual/files/LICENSE.md"
as "skeletons/projects/virtual/files/LICENSE.md")
( "share/drom/skeletons/projects/virtual/files/Makefile"
as "skeletons/projects/virtual/files/Makefile")
( "share/drom/skeletons/projects/virtual/files/README.md"
as "skeletons/projects/virtual/files/README.md")
( "share/drom/skeletons/projects/virtual/files/docs/README.txt"
as "skeletons/projects/virtual/files/docs/README.txt")
( "share/drom/skeletons/projects/virtual/files/docs/doc/index.html"
as "skeletons/projects/virtual/files/docs/doc/index.html")
( "share/drom/skeletons/projects/virtual/files/docs/favicon.png"
as "skeletons/projects/virtual/files/docs/favicon.png")
( "share/drom/skeletons/projects/virtual/files/docs/index.html"
as "skeletons/projects/virtual/files/docs/index.html")
( "share/drom/skeletons/projects/virtual/files/docs/sphinx/index.html"
as "skeletons/projects/virtual/files/docs/sphinx/index.html")
( "share/drom/skeletons/projects/virtual/files/docs/style.css"
as "skeletons/projects/virtual/files/docs/style.css")
( "share/drom/skeletons/projects/virtual/files/dot_github/workflows/doc-deploy.yml"
as "skeletons/projects/virtual/files/dot_github/workflows/doc-deploy.yml")
( "share/drom/skeletons/projects/virtual/files/dot_github/workflows/workflow.yml"
as "skeletons/projects/virtual/files/dot_github/workflows/workflow.yml")
( "share/drom/skeletons/projects/virtual/files/dot_gitignore"
as "skeletons/projects/virtual/files/dot_gitignore")
( "share/drom/skeletons/projects/virtual/files/dot_ocamlformat"
as "skeletons/projects/virtual/files/dot_ocamlformat")
( "share/drom/skeletons/projects/virtual/files/dot_ocamlformat-ignore"
as "skeletons/projects/virtual/files/dot_ocamlformat-ignore")
( "share/drom/skeletons/projects/virtual/files/dot_ocp-indent"
as "skeletons/projects/virtual/files/dot_ocp-indent")
( "share/drom/skeletons/projects/virtual/files/dune_"
as "skeletons/projects/virtual/files/dune_")
( "share/drom/skeletons/projects/virtual/files/sphinx/about.rst"
as "skeletons/projects/virtual/files/sphinx/about.rst")
( "share/drom/skeletons/projects/virtual/files/sphinx/conf.py"
as "skeletons/projects/virtual/files/sphinx/conf.py")
( "share/drom/skeletons/projects/virtual/files/sphinx/index.rst"
as "skeletons/projects/virtual/files/sphinx/index.rst")
( "share/drom/skeletons/projects/virtual/files/sphinx/install.rst"
as "skeletons/projects/virtual/files/sphinx/install.rst")
( "share/drom/skeletons/projects/virtual/files/sphinx/license.rst"
as "skeletons/projects/virtual/files/sphinx/license.rst")
( "share/drom/skeletons/projects/virtual/files/sphinx/under_static/css/fixes.css"
as "skeletons/projects/virtual/files/sphinx/under_static/css/fixes.css")
( "share/drom/skeletons/projects/virtual/files/test/expect-tests/dune_"
as "skeletons/projects/virtual/files/test/expect-tests/dune_")
( "share/drom/skeletons/projects/virtual/files/test/expect-tests/test.ml"
as "skeletons/projects/virtual/files/test/expect-tests/test.ml")
( "share/drom/skeletons/projects/virtual/files/test/inline-tests/dune_"
as "skeletons/projects/virtual/files/test/inline-tests/dune_")
( "share/drom/skeletons/projects/virtual/files/test/inline-tests/test.ml"
as "skeletons/projects/virtual/files/test/inline-tests/test.ml")
( "share/drom/skeletons/projects/virtual/files/test/output-tests/dune_"
as "skeletons/projects/virtual/files/test/output-tests/dune_")
( "share/drom/skeletons/projects/virtual/files/test/output-tests/test1.expected"
as "skeletons/projects/virtual/files/test/output-tests/test1.expected")
( "share/drom/skeletons/projects/virtual/files/test/output-tests/test2.expected"
as "skeletons/projects/virtual/files/test/output-tests/test2.expected")
( "share/drom/skeletons/projects/virtual/files/test/output-tests/test2.ml"
as "skeletons/projects/virtual/files/test/output-tests/test2.ml")
( "share/drom/skeletons/projects/virtual/project.toml"
as "skeletons/projects/virtual/project.toml")
( "share/drom/skeletons/projects/virtual/skeleton.toml"
as "skeletons/projects/virtual/skeleton.toml")
)
(section share)
(package drom))

2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
(ez_file (and (>= 0.2.0) (< 1.0.0)))
(ez_config (and (>= 0.1.0) (< 1.0.0)))
(ez_cmdliner (and (>= 0.1.0) (< 1.0.0)))
(directories ( > 0.2 ))
(directories ( >= 0.2 ))
ppx_inline_test
ppx_expect
odoc
Expand Down
17 changes: 17 additions & 0 deletions dune_
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
; This file was generated by drom, using drom.toml
(env
(dev
(flags (:standard -w +a-4-40-41-42-44))
)
(release
(flags (:standard -w -a))
)

)
(dirs src test vendors )

(install
(files "skeletons/projects/virtual/files/sphinx/under_static/css/fixes.css" "skeletons/projects/virtual/files/test/output-tests/test2.ml" "skeletons/projects/virtual/files/test/output-tests/test2.expected" "skeletons/projects/virtual/files/test/output-tests/test1.expected" "skeletons/projects/virtual/files/test/output-tests/dune_" "skeletons/projects/virtual/files/test/inline-tests/test.ml" "skeletons/projects/virtual/files/test/inline-tests/dune_" "skeletons/projects/virtual/files/test/expect-tests/test.ml" "skeletons/projects/virtual/files/test/expect-tests/dune_" "skeletons/projects/virtual/files/dot_github/workflows/workflow.yml" "skeletons/projects/virtual/files/dot_github/workflows/doc-deploy.yml" "skeletons/projects/virtual/files/docs/sphinx/index.html" "skeletons/projects/virtual/files/docs/doc/index.html" "skeletons/projects/virtual/files/sphinx/license.rst" "skeletons/projects/virtual/files/sphinx/install.rst" "skeletons/projects/virtual/files/sphinx/index.rst" "skeletons/projects/virtual/files/sphinx/conf.py" "skeletons/projects/virtual/files/sphinx/about.rst" "skeletons/projects/virtual/files/docs/style.css" "skeletons/projects/virtual/files/docs/index.html" "skeletons/projects/virtual/files/docs/favicon.png" "skeletons/projects/virtual/files/docs/README.txt" "skeletons/projects/virtual/files/dune_" "skeletons/projects/virtual/files/dot_ocp-indent" "skeletons/projects/virtual/files/dot_ocamlformat-ignore" "skeletons/projects/virtual/files/dot_ocamlformat" "skeletons/projects/virtual/files/dot_gitignore" "skeletons/projects/virtual/files/README.md" "skeletons/projects/virtual/files/Makefile" "skeletons/projects/virtual/files/LICENSE.md" "skeletons/projects/virtual/files/CHANGES.md" "skeletons/packages/program/files/main.ml" "skeletons/packages/program/files/dune_" "skeletons/packages/library/files/main.ml" "skeletons/packages/library/files/dune_" "skeletons/packages/driver/files/main.ml" "skeletons/packages/driver/files/dune_" "skeletons/projects/virtual/skeleton.toml" "skeletons/projects/virtual/project.toml" "skeletons/projects/program/skeleton.toml" "skeletons/projects/program/project.toml" "skeletons/projects/library/skeleton.toml" "skeletons/projects/library/project.toml" "skeletons/projects/library/dune~" "skeletons/projects/library/dune_" "skeletons/packages/virtual/skeleton.toml" "skeletons/packages/virtual/package.toml" "skeletons/packages/program/skeleton.toml" "skeletons/packages/program/package.toml" "skeletons/packages/library/skeleton.toml" "skeletons/packages/library/package.toml" "skeletons/packages/driver/skeleton.toml" "skeletons/packages/driver/package.toml" "skeletons/README.md" "licenses/MIT.toml" "licenses/LGPL2.toml" "licenses/ISC.toml" "licenses/GPL3.toml" "licenses/BSD3.toml" "licenses/BSD2.toml")
(section share)
(package drom))

Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
[license]

key = "BSD2"
name = "BSD-2-Clause"
header = """
This source code is licensed under the BSD2 style license found in the
LICENSE.md file in the root directory of this source tree.
"""
contents = """
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand All @@ -19,3 +28,4 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
[license]

key = "BSD3"
name = "BSD-3-Clause"
header = """
This source code is licensed under the BSD3 style license found in the
LICENSE.md file in the root directory of this source tree.
"""
contents = """
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand All @@ -21,3 +30,4 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[license]

key = "GPL3"
name = "GPL-3.0-only"
header = """
This file is distributed under the terms of the GNU General Public
License version 3.0, as described in the LICENSE.md file in the root
directory of this source tree.
"""
contents = """
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -672,3 +682,4 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
"""
11 changes: 11 additions & 0 deletions src/drom_lib/licenses/ISC/LICENSE → share/drom/licenses/ISC.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[license]

key = "ISC"
name = "ISC"
header = """
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.
"""
contents = """
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.
Expand All @@ -9,3 +19,4 @@ 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.
"""
Loading

0 comments on commit 0f971a7

Please sign in to comment.