Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

begin win32 support #38

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 45 additions & 5 deletions .drom
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version:0.9.0

# hash of toml configuration files
# used for generation of all files
9135e8353d4b0c8a02717e292d5629ea:.
ad6902e5ccbcc5fbe567106ef5ef1230:.
# end context for .

# begin context for .github/workflows/workflow.yml
Expand Down Expand Up @@ -45,7 +45,7 @@ ebb31f7006b7740fd3a675e77fb65884:LICENSE.md

# begin context for Makefile
# file Makefile
d36a98c0c36c107075608418b4e51339:Makefile
f171ba6ec26f5773580574003ee20452:Makefile
# end context for Makefile

# begin context for README.md
Expand Down Expand Up @@ -95,7 +95,7 @@ e7379cf9741bb1cd7e4192973c166a04:drom.toml

# begin context for dune-project
# file dune-project
c6a46d22f2a1886a27d2bdee4fee14da:dune-project
4e0809652b6269e5ec0806af2f9e9d48:dune-project
# end context for dune-project

# begin context for opam/autofonce.opam
Expand All @@ -115,7 +115,7 @@ ce7a9679b1a0e59669df0650abf6b007:opam/autofonce_config.opam

# begin context for opam/autofonce_lib.opam
# file opam/autofonce_lib.opam
156081c7022b9ba51cb3e865615a6df6:opam/autofonce_lib.opam
08acbb87711c328094b17341ec0a59ec:opam/autofonce_lib.opam
# end context for opam/autofonce_lib.opam

# begin context for opam/autofonce_m4.opam
Expand All @@ -138,6 +138,16 @@ fea50747b9b9ca3a584fe11eb601c555:opam/autofonce_m4.opam
4699a7621c5b480f97f629b141b0c07a:opam/autofonce_share.opam
# end context for opam/autofonce_share.opam

# begin context for opam/ez_call.opam
# file opam/ez_call.opam
0bfa3504647131541ec573a5fc9dc39f:opam/ez_call.opam
# end context for opam/ez_call.opam

# begin context for opam/ez_win32.opam
# file opam/ez_win32.opam
a56eec6bffe72deb75c07a613211a926:opam/ez_win32.opam
# end context for opam/ez_win32.opam

# begin context for scripts/after.sh
# file scripts/after.sh
62c6489217feef26dac343e709b89c1a:scripts/after.sh
Expand Down Expand Up @@ -260,7 +270,7 @@ ab29faf4dd396c0f88290923e94bf125:src/autofonce_config/package.toml

# begin context for src/autofonce_lib/dune
# file src/autofonce_lib/dune
bf25c11b54312da2ce0556f631d5ad11:src/autofonce_lib/dune
9bf64100cd8b33524c080a509e43b551:src/autofonce_lib/dune
# end context for src/autofonce_lib/dune

# begin context for src/autofonce_lib/index.mld
Expand Down Expand Up @@ -367,3 +377,33 @@ b18f683411ed798dcf994356027a475d:src/autofonce_share/dune
# file src/autofonce_share/version.mlt
87a437efb9cff469286b6655943731dc:src/autofonce_share/version.mlt
# end context for src/autofonce_share/version.mlt

# begin context for src/ez_call/dune
# file src/ez_call/dune
4baccba8d621400fb0e1e5fe26403cc1:src/ez_call/dune
# end context for src/ez_call/dune

# begin context for src/ez_call/index.mld
# file src/ez_call/index.mld
fd2732e6d2f54a39648e93f6a9b82ed8:src/ez_call/index.mld
# end context for src/ez_call/index.mld

# begin context for src/ez_call/version.mlt
# file src/ez_call/version.mlt
87a437efb9cff469286b6655943731dc:src/ez_call/version.mlt
# end context for src/ez_call/version.mlt

# begin context for src/ez_win32/dune
# file src/ez_win32/dune
6033184906b4bca2bf40ae6446ec1d52:src/ez_win32/dune
# end context for src/ez_win32/dune

# begin context for src/ez_win32/index.mld
# file src/ez_win32/index.mld
46868df19e1f2482b44396985fa74398:src/ez_win32/index.mld
# end context for src/ez_win32/index.mld

# begin context for src/ez_win32/version.mlt
# file src/ez_win32/version.mlt
87a437efb9cff469286b6655943731dc:src/ez_win32/version.mlt
# end context for src/ez_win32/version.mlt
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ all: build
build:
./scripts/before.sh build
opam exec -- dune build @install
./scripts/copy-bin.sh autofonce autofonce_core autofonce_lib autofonce_m4 autofonce_share autofonce_patch autofonce_config autofonce_misc
./scripts/copy-bin.sh autofonce autofonce_core autofonce_lib autofonce_m4 autofonce_share autofonce_patch autofonce_config autofonce_misc ez_win32 ez_call
./scripts/after.sh build

build-deps:
Expand Down
6 changes: 6 additions & 0 deletions drom.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,9 @@ dir = "src/autofonce_config"
dir = "src/autofonce_misc"
# edit 'src/autofonce_misc/package.toml' for package-specific options

[[package]]
dir = "src/ez_win32"

[[package]]
dir = "src/ez_call"

30 changes: 30 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
(ocplib_stuff ( >= 0.1 ))
(ez_file ( >= 0.3 ))
(ez_cmdliner ( >= 0.4.3 ))
(ez_call ( >= 0.1 ))
(autofonce_share (= version))
(autofonce_patch (= version))
(autofonce_m4 (= version))
Expand Down Expand Up @@ -140,4 +141,33 @@
)
)

(package
(name ez_win32)
(synopsis "A modern runner for GNU Autoconf Testsuites")
(description "autofonce is a modern runner for GNU Autoconf Testsuites:\nautofonce has a limited understanding of m4 macros that appear in testsuites\nwritten for the GNU Autoconf testsuites, and can run such tests in a modern\nway.\n")
(depends
(ocaml (>= 4.10.0))
(ez_file ( >= 0.3 ))
ppx_inline_test
ppx_expect
odoc
ocamlformat
)
)

(package
(name ez_call)
(synopsis "A modern runner for GNU Autoconf Testsuites")
(description "autofonce is a modern runner for GNU Autoconf Testsuites:\nautofonce has a limited understanding of m4 macros that appear in testsuites\nwritten for the GNU Autoconf testsuites, and can run such tests in a modern\nway.\n")
(depends
(ocaml (>= 4.10.0))
(ez_win32 ( >= 0.1 ))
(ez_file ( >= 0.3 ))
ppx_inline_test
ppx_expect
odoc
ocamlformat
)
)


1 change: 1 addition & 0 deletions opam/autofonce_lib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ depends: [
"ocplib_stuff" {>= "0.1"}
"ez_file" {>= "0.3"}
"ez_cmdliner" {>= "0.4.3"}
"ez_call" {>= "0.1"}
"autofonce_share" {= version}
"autofonce_patch" {= version}
"autofonce_m4" {= version}
Expand Down
50 changes: 50 additions & 0 deletions opam/ez_call.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This file was generated by `drom` from `drom.toml`.
# Do not modify, or add to the `skip` field of `drom.toml`.
opam-version: "2.0"
name: "ez_call"
version: "1.0"
license: "GPL-3.0-only"
synopsis: "A modern runner for GNU Autoconf Testsuites"
description: """\
autofonce is a modern runner for GNU Autoconf Testsuites:
autofonce has a limited understanding of m4 macros that appear in testsuites
written for the GNU Autoconf testsuites, and can run such tests in a modern
way.
"""
authors: ["Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>"]
maintainer: ["Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>"]
homepage: "https://ocamlpro.github.io/autofonce"
doc: "https://ocamlpro.github.io/autofonce/sphinx"
bug-reports: "https://github.com/ocamlpro/autofonce/issues"
dev-repo: "git+https://github.com/ocamlpro/autofonce.git"
tags: "org:ocamlpro"
build: [
["dune" "subst"] {dev}
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
]
install: [
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
]
depends: [
"ocaml" {>= "4.10.0"}
"dune" {>= "2.7.0"}
"ez_win32" {>= "0.1"}
"ez_file" {>= "0.3"}
"ppx_inline_test" {with-test}
"ppx_expect" {with-test}
"odoc" {with-doc}
"ocamlformat" {with-test}
]
# Content of `opam-trailer` field:
49 changes: 49 additions & 0 deletions opam/ez_win32.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This file was generated by `drom` from `drom.toml`.
# Do not modify, or add to the `skip` field of `drom.toml`.
opam-version: "2.0"
name: "ez_win32"
version: "1.0"
license: "GPL-3.0-only"
synopsis: "A modern runner for GNU Autoconf Testsuites"
description: """\
autofonce is a modern runner for GNU Autoconf Testsuites:
autofonce has a limited understanding of m4 macros that appear in testsuites
written for the GNU Autoconf testsuites, and can run such tests in a modern
way.
"""
authors: ["Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>"]
maintainer: ["Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>"]
homepage: "https://ocamlpro.github.io/autofonce"
doc: "https://ocamlpro.github.io/autofonce/sphinx"
bug-reports: "https://github.com/ocamlpro/autofonce/issues"
dev-repo: "git+https://github.com/ocamlpro/autofonce.git"
tags: "org:ocamlpro"
build: [
["dune" "subst"] {dev}
["sh" "-c" "./scripts/before.sh build '%{name}%'"]
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
["sh" "-c" "./scripts/after.sh build '%{name}%'"]
]
install: [
["sh" "-c" "./scripts/before.sh install '%{name}%'"]
]
depends: [
"ocaml" {>= "4.10.0"}
"dune" {>= "2.7.0"}
"ez_file" {>= "0.3"}
"ppx_inline_test" {with-test}
"ppx_expect" {with-test}
"odoc" {with-doc}
"ocamlformat" {with-test}
]
# Content of `opam-trailer` field:
Loading