https://pantsbuild.org/ logo
#general
Title
# general
r

rough-dog-96241

05/06/2016, 8:25 PM
invocation
./pants run services/cupid:main -- db migrate
BUILD file
Copy code
$ cat services/cupid/BUILD
scala_library(
  name='lib',
  dependencies=[
    'services/spray-restful:lib',
  ],
  resources=['services/cupid/' + p for p in rglobs('src/main/resources/*').files],
  sources=rglobs('src/main/scala/*.scala'),
)

jvm_binary(
  name = 'main',
  dependencies = [
    ':lib'
  ],
  main = 'com.civitaslearning.services.cupid.App',
  basename = 'cupid',
)