{"id":15667371,"url":"https://github.com/ckipp01/mill-giter8","last_synced_at":"2025-03-10T07:32:41.735Z","repository":{"id":65508485,"uuid":"524904812","full_name":"ckipp01/mill-giter8","owner":"ckipp01","description":"A Mill plugin to test your Giter8 templates.","archived":false,"fork":false,"pushed_at":"2024-08-22T08:26:30.000Z","size":137,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T17:44:08.516Z","etag":null,"topics":["giter8","giter8-template","mill","mill-plugin"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ckipp01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ckipp01"}},"created_at":"2022-08-15T08:10:34.000Z","updated_at":"2025-02-17T21:44:43.000Z","dependencies_parsed_at":"2024-01-09T10:47:02.014Z","dependency_job_id":"fe33bb3d-1fed-4a59-a640-0e4487e0b3f2","html_url":"https://github.com/ckipp01/mill-giter8","commit_stats":{"total_commits":115,"total_committers":4,"mean_commits":28.75,"dds":0.4521739130434783,"last_synced_commit":"1d53831ba1d4c3135f2b315d136930a624152cd7"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-giter8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-giter8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-giter8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckipp01%2Fmill-giter8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckipp01","download_url":"https://codeload.github.com/ckipp01/mill-giter8/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242811707,"owners_count":20189119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["giter8","giter8-template","mill","mill-plugin"],"created_at":"2024-10-03T14:02:55.202Z","updated_at":"2025-03-10T07:32:41.408Z","avatar_url":"https://github.com/ckipp01.png","language":"Scala","funding_links":["https://github.com/sponsors/ckipp01"],"categories":[],"sub_categories":[],"readme":"# mill-giter8\n\nA [Mill][mill] plugin for testing your [Giter8][giter8] templates. Modeled after\nthe [Giter8 sbt plugin][giter8-sbt].\n\n## Requirements\n\n- This plugin assumes that your Giter8 template is following the [src\n    layout][src-layout], meaning that it expects your template to be in\n    `src/main/g8`.\n- If using a [`default.properties`][default-properties] property file it needs\n    to be located at `src/main/g8/default-properties`.\n\n_A minimal example structure_\n\n```\n.\n├── build.sc\n├── mill\n├── README.md\n└── src\n   └── main\n      └── g8\n         ├── build.sc\n         ├── default.properties\n         ├── mill\n         └── example\n            └── src\n               └── $package$\n                  └── Main.scala\n```\n\n## Quickstart\n\nAssuming the above requirements are true, then to use this plugin you'll want to\ninclude the plugin and extend the `G8Module` like so:\n\n```scala\nimport $ivy.`io.chris-kipp::mill-giter8::0.2.0`\n\nimport io.kipp.mill.giter8.G8Module\n\nobject g8 extends G8Module {\n  override def validationTargets =\n    Seq(\"example.compile\", \"example.fix\", \"example.reformat\")\n}\n```\n\nYou can then run `mill g8.validate` which will first check to ensure your\nproject can be generated from the current template and then ensure the\n`validationTargets` can run against your generated project.\n\n## Available Targets\n\n\n- `generate` - This will test the generation of your project.\n- `validate` - This will both check the generation of your project and also run\n    the `validationTargets` against it.\n- `validationTargets` - A `Seq` of targets that you'd like run against your\n    project.\n\n\n[mill]: https://com-lihaoyi.github.io/mill/mill/Intro_to_Mill.html\n[giter8]: http://www.foundweekends.org/giter8/index.html\n[giter8-sbt]: http://www.foundweekends.org/giter8/testing.html#Using+the+Giter8Plugin\n[src-layout]: http://www.foundweekends.org/giter8/template.html#src+layout\n[default-properties]: http://www.foundweekends.org/giter8/template.html#default.properties\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckipp01%2Fmill-giter8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckipp01%2Fmill-giter8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckipp01%2Fmill-giter8/lists"}