diff --git a/index/mo/mold_lib/mold_lib-2.1.0.toml b/index/mo/mold_lib/mold_lib-2.1.0.toml new file mode 100644 index 00000000..60f84b5e --- /dev/null +++ b/index/mo/mold_lib/mold_lib-2.1.0.toml @@ -0,0 +1,79 @@ +name = "mold_lib" +version = "2.1.0" +tags = ["template", "template-engine", "template-repo"] + +description = "Meta-variable Operations for Lean Development (lib)" +long-description = ''' +[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold_lib.json)](https://alire.ada.dev/crates/mold_lib.html) +[![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold_lib.json)](https://alire-crate-ci.ada.dev/crates/mold_lib.html) +![unit-test](https://github.com/rocher/mold_lib/actions/workflows/unit-test.yml/badge.svg) +[![codecov](https://codecov.io/gh/rocher/mold_lib/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold_lib) +[![GitHub release](https://img.shields.io/github/release/rocher/mold_lib.svg)](https://github.com/rocher/mold_lib/releases/latest) +[![License](https://img.shields.io/github/license/rocher/mold_lib.svg?color=blue)](https://github.com/rocher/mold_lib/blob/master/LICENSE) + +## Welcome to **Mold (lib)** + +> **MOLD**: *Meta-variable Operations for Lean Development* + +Mold is a Template Processor, or Template Engine, to work with repository +templates. The main motivation of Mold is to have repositories in GitHub used +as template repositories to create new, customized repositories for other +users. + +Main features supported in Mold include + + * variable replacement in mold files (*.mold) + + * for a given directory, variable replacement recursively for all mold files + in all subdirectories + + * variable replacement in file names + + * inclusion of other templates + + * definition of variables with a simple TOML file + + * predefined and custom text filters to easy text transformations + +Variable replacement can be specified as *normal*, *optional* or *mandatory*. +For example, the variable `foo = "bar"` can be specified with `{{foo}}`, +`{{?foo}}` (optional) or `{{#foo}}` (mandatory). The difference is the handling +of errors when an undefined variable is encountered. + +All mold files must end with the extension `.mold`, for example +`README.md.mold`. Destination files (with variables replaced) have the same +name without the mold extension: `README.md`. This simplifies the work done in +large subdirectories with few templates. + +This crate contains the Ada library and unit tests. For a CLI tool, please +take a look at the crate `mold`. + +## Reference Guide + +Please visit [Mold documentation](https://rocher.github.io/mold) for more +information. + +--- +## License +MIT (c) 2023 Francesc Rocher +''' + +authors = ["Francesc Rocher"] +website = "https://rocher.github.io/mold" +maintainers = ["Francesc Rocher "] +maintainers-logins = ["rocher"] + +licenses = "MIT" + +[build-switches."*"] +ada_version = ["-gnat2022", "-gnatW8", "-gnatX"] + +[[depends-on]] +ada_toml = "~0.3.0" +gnat = ">=2021 | (>=12 & <2000)" +simple_logging = "^1.2.0" + +[origin] +commit = "703dece1990aeeb7db6ab28048f7046fa0881a4d" +url = "git+https://github.com//rocher/mold_lib.git" + diff --git a/index/mo/mold_lib/mold_lib-2.1.1.toml b/index/mo/mold_lib/mold_lib-2.1.1.toml new file mode 100644 index 00000000..44667f70 --- /dev/null +++ b/index/mo/mold_lib/mold_lib-2.1.1.toml @@ -0,0 +1,79 @@ +name = "mold_lib" +version = "2.1.1" +tags = ["template", "template-engine", "template-repo"] + +description = "Meta-variable Operations for Lean Development (lib)" +long-description = ''' +[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold_lib.json)](https://alire.ada.dev/crates/mold_lib.html) +[![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold_lib.json)](https://alire-crate-ci.ada.dev/crates/mold_lib.html) +![unit-test](https://github.com/rocher/mold_lib/actions/workflows/unit-test.yml/badge.svg) +[![codecov](https://codecov.io/gh/rocher/mold_lib/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold_lib) +[![GitHub release](https://img.shields.io/github/release/rocher/mold_lib.svg)](https://github.com/rocher/mold_lib/releases/latest) +[![License](https://img.shields.io/github/license/rocher/mold_lib.svg?color=blue)](https://github.com/rocher/mold_lib/blob/master/LICENSE) + +## Welcome to **Mold (lib)** + +> **MOLD**: *Meta-variable Operations for Lean Development* + +Mold is a Template Processor, or Template Engine, to work with repository +templates. The main motivation of Mold is to have repositories in GitHub used +as template repositories to create new, customized repositories for other +users. + +Main features supported in Mold include + + * variable replacement in mold files (*.mold) + + * for a given directory, variable replacement recursively for all mold files + in all subdirectories + + * variable replacement in file names + + * inclusion of other templates + + * definition of variables with a simple TOML file + + * predefined and custom text filters to easy text transformations + +Variable replacement can be specified as *normal*, *optional* or *mandatory*. +For example, the variable `foo = "bar"` can be specified with `{{foo}}`, +`{{?foo}}` (optional) or `{{#foo}}` (mandatory). The difference is the handling +of errors when an undefined variable is encountered. + +All mold files must end with the extension `.mold`, for example +`README.md.mold`. Destination files (with variables replaced) have the same +name without the mold extension: `README.md`. This simplifies the work done in +large subdirectories with few templates. + +This crate contains the Ada library and unit tests. For a CLI tool, please +take a look at the crate `mold`. + +## Reference Guide + +Please visit [Mold documentation](https://rocher.github.io/mold) for more +information. + +--- +## License +MIT (c) 2023 Francesc Rocher +''' + +authors = ["Francesc Rocher"] +website = "https://rocher.github.io/mold" +maintainers = ["Francesc Rocher "] +maintainers-logins = ["rocher"] + +licenses = "MIT" + +[build-switches."*"] +ada_version = ["-gnat2022", "-gnatW8", "-gnatX"] + +[[depends-on]] +ada_toml = "~0.3.0" +gnat = ">=2021 | (>=12 & <2000)" +simple_logging = "^1.2.0" + +[origin] +commit = "c9309f10f8b34aa1ba2770381ed99731b12cbfc5" +url = "git+https://github.com//rocher/mold_lib.git" + diff --git a/index/mo/mold_lib/mold_lib-2.2.0.toml b/index/mo/mold_lib/mold_lib-2.2.0.toml new file mode 100644 index 00000000..9c45f504 --- /dev/null +++ b/index/mo/mold_lib/mold_lib-2.2.0.toml @@ -0,0 +1,79 @@ +name = "mold_lib" +version = "2.2.0" +tags = ["template", "template-engine", "template-repo"] + +description = "Meta-variable Operations for Lean Development (lib)" +long-description = ''' +[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold_lib.json)](https://alire.ada.dev/crates/mold_lib.html) +[![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold_lib.json)](https://alire-crate-ci.ada.dev/crates/mold_lib.html) +![unit-test](https://github.com/rocher/mold_lib/actions/workflows/unit-test.yml/badge.svg) +[![codecov](https://codecov.io/gh/rocher/mold_lib/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold_lib) +[![GitHub release](https://img.shields.io/github/release/rocher/mold_lib.svg)](https://github.com/rocher/mold_lib/releases/latest) +[![License](https://img.shields.io/github/license/rocher/mold_lib.svg?color=blue)](https://github.com/rocher/mold_lib/blob/master/LICENSE) + +## Welcome to **Mold (lib)** + +> **MOLD**: *Meta-variable Operations for Lean Development* + +Mold is a Template Processor, or Template Engine, to work with repository +templates. The main motivation of Mold is to have repositories in GitHub used +as template repositories to create new, customized repositories for other +users. + +Main features supported in Mold include + + * variable replacement in mold files (*.mold) + + * for a given directory, variable replacement recursively for all mold files + in all subdirectories + + * variable replacement in file names + + * inclusion of other templates + + * definition of variables with a simple TOML file + + * predefined and custom text filters to easy text transformations + +Variable replacement can be specified as *normal*, *optional* or *mandatory*. +For example, the variable `foo = "bar"` can be specified with `{{foo}}`, +`{{?foo}}` (optional) or `{{#foo}}` (mandatory). The difference is the handling +of errors when an undefined variable is encountered. + +All mold files must end with the extension `.mold`, for example +`README.md.mold`. Destination files (with variables replaced) have the same +name without the mold extension: `README.md`. This simplifies the work done in +large subdirectories with few templates. + +This crate contains the Ada library and unit tests. For a CLI tool, please +take a look at the crate `mold`. + +## Reference Guide + +Please visit [Mold documentation](https://rocher.github.io/mold) for more +information. + +--- +## License +MIT (c) 2023 Francesc Rocher +''' + +authors = ["Francesc Rocher"] +website = "https://rocher.github.io/mold" +maintainers = ["Francesc Rocher "] +maintainers-logins = ["rocher"] + +licenses = "MIT" + +[build-switches."*"] +ada_version = ["-gnat2022", "-gnatW8", "-gnatX"] + +[[depends-on]] +ada_toml = "~0.3.0" +gnat = ">=2021 | (>=12 & <2000)" +simple_logging = "^1.2.0" + +[origin] +commit = "70c49c3e8c3a8192b45314e7228b1637f5704dcd" +url = "git+https://github.com//rocher/mold_lib.git" + diff --git a/index/mo/mold_lib/mold_lib-2.2.1.toml b/index/mo/mold_lib/mold_lib-2.2.1.toml new file mode 100644 index 00000000..7ec541ee --- /dev/null +++ b/index/mo/mold_lib/mold_lib-2.2.1.toml @@ -0,0 +1,79 @@ +name = "mold_lib" +version = "2.2.1" +tags = ["template", "template-engine", "template-repo"] + +description = "Meta-variable Operations for Lean Development (lib)" +long-description = ''' +[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/mold_lib.json)](https://alire.ada.dev/crates/mold_lib.html) +[![Alire CI/CD](https://img.shields.io/endpoint?url=https://alire-crate-ci.ada.dev/badges/mold_lib.json)](https://alire-crate-ci.ada.dev/crates/mold_lib.html) +![unit-test](https://github.com/rocher/mold_lib/actions/workflows/unit-test.yml/badge.svg) +[![codecov](https://codecov.io/gh/rocher/mold_lib/graph/badge.svg?token=LB83SI4I0Y)](https://codecov.io/gh/rocher/mold_lib) +[![GitHub release](https://img.shields.io/github/release/rocher/mold_lib.svg)](https://github.com/rocher/mold_lib/releases/latest) +[![License](https://img.shields.io/github/license/rocher/mold_lib.svg?color=blue)](https://github.com/rocher/mold_lib/blob/master/LICENSE) + +## Welcome to **Mold (lib)** + +> **MOLD**: *Meta-variable Operations for Lean Development* + +Mold is a Template Processor, or Template Engine, to work with repository +templates. The main motivation of Mold is to have repositories in GitHub used +as template repositories to create new, customized repositories for other +users. + +Main features supported in Mold include + + * variable replacement in mold files (*.mold) + + * for a given directory, variable replacement recursively for all mold files + in all subdirectories + + * variable replacement in file names + + * inclusion of other templates + + * definition of variables with a simple TOML file + + * predefined and custom text filters to easy text transformations + +Variable replacement can be specified as *normal*, *optional* or *mandatory*. +For example, the variable `foo = "bar"` can be specified with `{{foo}}`, +`{{?foo}}` (optional) or `{{#foo}}` (mandatory). The difference is the handling +of errors when an undefined variable is encountered. + +All mold files must end with the extension `.mold`, for example +`README.md.mold`. Destination files (with variables replaced) have the same +name without the mold extension: `README.md`. This simplifies the work done in +large subdirectories with few templates. + +This crate contains the Ada library and unit tests. For a CLI tool, please +take a look at the crate `mold`. + +## Reference Guide + +Please visit [Mold documentation](https://rocher.github.io/mold) for more +information. + +--- +## License +MIT (c) 2023 Francesc Rocher +''' + +authors = ["Francesc Rocher"] +website = "https://rocher.github.io/mold" +maintainers = ["Francesc Rocher "] +maintainers-logins = ["rocher"] + +licenses = "MIT" + +[build-switches."*"] +ada_version = ["-gnat2022", "-gnatW8", "-gnatX"] + +[[depends-on]] +ada_toml = "~0.3.0" +gnat = ">=2021 | (>=12 & <2000)" +simple_logging = "^1.2.0" + +[origin] +commit = "9048c6c22e2c8a0d7b3ba8a59190fd86373389ee" +url = "git+https://github.com//rocher/mold_lib.git" +