{"id":13606072,"url":"https://github.com/typelead/sbt-eta","last_synced_at":"2025-07-26T22:35:38.829Z","repository":{"id":152425485,"uuid":"99522070","full_name":"typelead/sbt-eta","owner":"typelead","description":"An sbt plugin that integrates Eta into Scala projects.","archived":false,"fork":false,"pushed_at":"2019-05-06T10:22:34.000Z","size":139,"stargazers_count":57,"open_issues_count":3,"forks_count":10,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-05T22:38:46.442Z","etag":null,"topics":["eta","functional-programming","sbt","sbt-plugin","scala"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/typelead.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2017-08-07T00:42:51.000Z","updated_at":"2023-02-17T16:21:35.000Z","dependencies_parsed_at":"2024-01-14T06:24:05.811Z","dependency_job_id":"c0276b1e-0b91-429a-956c-5decbab76bf2","html_url":"https://github.com/typelead/sbt-eta","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/typelead/sbt-eta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelead%2Fsbt-eta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelead%2Fsbt-eta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelead%2Fsbt-eta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelead%2Fsbt-eta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/typelead","download_url":"https://codeload.github.com/typelead/sbt-eta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/typelead%2Fsbt-eta/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267253143,"owners_count":24060136,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["eta","functional-programming","sbt","sbt-plugin","scala"],"created_at":"2024-08-01T19:01:05.776Z","updated_at":"2025-07-26T22:35:38.792Z","avatar_url":"https://github.com/typelead.png","language":"Scala","funding_links":[],"categories":["Tools"],"sub_categories":["Talks"],"readme":"# sbt-eta\n\n[![Build Status](https://circleci.com/gh/typelead/sbt-eta.svg?style=shield)](https://circleci.com/gh/typelead/sbt-eta)\n\nAn sbt plugin that overrides the build cycle to compile Etlas projects located in\n`src/main/eta`. It also provides tasks for compiling \u0026 running Scala/Eta programs.\n\n### Prerequisites\n\n- [Etlas](https://github.com/typelead/etlas) \u003e= 1.5.0.0\n  - Make sure it's visible on the `PATH`.\n\n    ```shell\n    etlas --version\n    ```\n\n## Install\n\nAdd the following to your `project/plugins.sbt` file:\n\n```sbtshell\naddSbtPlugin(\"com.typelead\" % \"sbt-eta\" % \"0.3.0\")\n```\n\nFor projects using Eta enable SbtEta plugin, e.g.:\n\n```sbtshell\nval root = (project in file(\".\")).enablePlugins(SbtEta)\n```\n\n## Example\n\nAn example project integration Eta with Scala is provided in the [example](./example/README.md) directory.\n\nAn example of multi-project build included Eta projects is provided in the [example-multi](./example-multi/README.md) directory.\n\n## Basics\n\n1. Create a standard Scala/SBT project using your favorite method.\n\n2. Describe Eta project in `build.sbt` using plugin's DSL. \n\n3. Write Scala/Eta code to perform your task.\n\n4. Start up `sbt` and run the `compile` and/or `run` task.\n\n## Configuration\n\n```sbtshell\nbaseDirectory in Eta := target.value / \"eta\"\n```\n- **Type:** `File`\n- **Default:** `target/eta`\n\nThis is the root of your Etlas project (where the `.cabal` file is placed).\n\n```sbtshell\ntarget in Eta := target.value / \"eta\" / \"dist\"\n```\n\n- **Type:** `File`\n- **Default:** `target/eta/dist`\n\nThis is where all of Etlas's build artifacts are stored.\n\n```sbtshell\nsourceDirectory in EtaLib := (sourceDirectory in Compile).value / \"eta\"\n```\n- **Type:** `File`\n- **Default:** `src/main/eta`\n\nThis is a directory containing sources of your Etlas project.\n\nTODO\n\n## Project layout\n\nBy default the directory structure of project looks like the default one used by SBT and Maven:\n\n```       \n   example/\n   ├── build.sbt\n   ├── src/\n   |   ├── main/\n   |   │   ├── eta/\n   |   │   │   └── Example/\n   |   │   │       └── Transform.hs\n   |   │   └── java/\n   |   │       └── Main.java\n   |   └── test/\n   |       └── eta/\n   |           └── Example/\n   |               └── TransformTest.hs\n   └── target/\n       └── eta/\n           ├── dist/\n           └── example-eta.cabal\n``` \n\n## License\n\n`sbt-eta` is available under the BSD 3-Clause License, see [LICENSE](./LICENSE) for\nmore information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypelead%2Fsbt-eta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypelead%2Fsbt-eta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypelead%2Fsbt-eta/lists"}