version: 0.2

phases:
  install:
    commands:
      - echo Nothing to do in the install phase...
      - SRC_HOME=$PWD
  pre_build:
    commands:
      - cd $SRC_HOME
      - cd functions
      - lein test
  build:
    commands:
      - cd $SRC_HOME
      - echo Build started on `date`
      - cd functions
      - lein uberjar
  post_build:
    commands:
      - cd $SRC_HOME
      - cp functions/target/uberjar/wort-0.1.0-SNAPSHOT-standalone.jar lambda.jar
      - echo Build completed on `date`
artifacts:
  files:
    - lambda.jar
  discard-paths: yes

version: 0.2

phases:
  install:
    commands:
      - echo Nothing to do in the install phase...
      - SRC_HOME=$PWD
  pre_build:
    commands:
      - cd $SRC_HOME
      - cd functions
      - lein test
  build:
    commands:
      - cd $SRC_HOME
      - echo Build started on `date`
      - cd functions
      - lein uberjar
  post_build:
    commands:
      - cd $SRC_HOME
      - cp functions/target/uberjar/wort-0.1.0-SNAPSHOT-standalone.jar lambda.jar
      - echo Build completed on `date`
artifacts:
  files:
    - lambda.jar
    - stack.yaml

Add stack.yaml back to build output
Add stack.yaml back to build output
