{"id":3496,"date":"2016-03-23T18:41:03","date_gmt":"2016-03-23T18:41:03","guid":{"rendered":"http:\/\/www.garysieling.com\/blog\/?p=3496"},"modified":"2016-03-23T18:41:03","modified_gmt":"2016-03-23T18:41:03","slug":"sbt-run-command-one-project","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/sbt-run-command-one-project\/","title":{"rendered":"sbt: run command in one project"},"content":{"rendered":"<p>In sbt you can do this:<\/p>\n<pre lang=\"bash\">\nsbt test-project\/compile\n<\/pre>\n<p>And it will run the compile command on just the test-project project.<\/p>\n<p>Note that this is based on the IDs of the projects in the build.sbt, not their paths. You may, for instance have &#8220;test_project&#8221; on the filesystem.<\/p>\n<p>If you&#8217;re using the sbt repl, you may also need to do &#8220;reload&#8221; if you&#8217;ve recently changed the build.sbt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In sbt you can do this: sbt test-project\/compile And it will run the compile command on just the test-project project. Note that this is based on the IDs of the projects in the build.sbt, not their paths. You may, for instance have &#8220;test_project&#8221; on the filesystem. If you&#8217;re using the sbt repl, you may also &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.garysieling.com\/blog\/sbt-run-command-one-project\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;sbt: run command in one project&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[479,480],"aioseo_notices":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/3496"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=3496"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/3496\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=3496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=3496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=3496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}