{"id":18414908,"url":"https://github.com/xerial/scala-min","last_synced_at":"2025-04-07T11:33:00.254Z","repository":{"id":5566351,"uuid":"6771773","full_name":"xerial/scala-min","owner":"xerial","description":"A minimal project template to start programming with Scala","archived":false,"fork":false,"pushed_at":"2013-11-15T05:06:14.000Z","size":2248,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T04:56:54.896Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xerial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-20T03:45:45.000Z","updated_at":"2017-08-14T16:15:39.000Z","dependencies_parsed_at":"2022-07-07T03:00:51.934Z","dependency_job_id":null,"html_url":"https://github.com/xerial/scala-min","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerial%2Fscala-min","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerial%2Fscala-min/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerial%2Fscala-min/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xerial%2Fscala-min/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xerial","download_url":"https://codeload.github.com/xerial/scala-min/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247645188,"owners_count":20972422,"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":[],"created_at":"2024-11-06T03:52:39.595Z","updated_at":"2025-04-07T11:32:58.602Z","avatar_url":"https://github.com/xerial.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"scala-min\n=========\n\nA minimal project template to start programming with Scala.\n\n### Contents\n\nscala-min project includes:\n- Sample Scala codes for Scala 2.10.2 with sbt-0.13.0\n- [ScalaTest](http://www.scalatest.org/) examples (writing specs, logging, tagging tests, measuring code performances, etc.)\n- Pre-configured settings for developing with IntelliJ IDEA\n- A command for packaging projects with [sbt-pack](http://github.com/xerial/sbt-pack) plugin.\n  - `sbt-pack` also generates installation scripts of you programs.\n\n### Usage\n\nDownload [tar.gz archive](https://github.com/xerial/scala-min/archive/master.tar.gz) or [.zip](https://github.com/xerial/scala-min/archive/master.zip) of this project, then extract the contents.\n\nAlternatively, you can run the following commands to extract the scala-min project:\n\n    $ mkdir myproject\n    $ cd myproject\n    $ curl -L https://github.com/xerial/scala-min/archive/master.tar.gz | tar xvz --strip-components=1\n\n\n**Run tests**\n\n    $ ./sbt test\n\n**Run tests when updates of the source codes are detected**\n   \n    $ ./sbt \"~test\"\n\n**Run specific tests matching a pattern**\n\n    $ ./sbt \"~test-only *HelloTest\"\n\n**Run tagged test only**\n\n    $ ./sbt \"~test-only *HelloTest -- -n test1\"\n\n**Create a runnable package**\n  \n    $ ./sbt pack\n    $ target/pack/bin/hello\n    Hello World!!\n\n**Install your program**\n\n    $ ./sbt pack\n    $ cd target/pack; make install\n    $ ~/local/bin/hello\n    Hello World!!\n\n**Create tar.gz archive of your program**\n    \n    $ ./sbt pack-archive\n    (myproject-0.1.tar.gz will be created)\n\n**Create IntelliJ project files**\n\n    $ ./sbt gen-idea\n\nThen, open this project folder in IntelliJ.\n\n**Add dependent libraries**\n\nEdit `project/Build.scala`, then add libraries to `libraryDependences` variable.\n\n### Customize\n\nRename the project name defined in `project/Build.scala` as you like.\n\n### Examples using scala-min\n\n- [Command line parser](https://github.com/xerial/sbt-pack/tree/develop/src/sbt-test/sbt-pack/command-launcher)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerial%2Fscala-min","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxerial%2Fscala-min","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxerial%2Fscala-min/lists"}