From 8466f0725dbb178dd8e6f3725d52dd66d6f8b63f Mon Sep 17 00:00:00 2001 From: Erick Lavoie <erick.lavoie@epfl.ch> Date: Mon, 15 Feb 2021 17:22:33 +0100 Subject: [PATCH] Added packaging instructions --- README.md | 28 ++++++++++++++++++++++++++-- build.sbt | 4 ++++ 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9303b58..c91ddbc 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,38 @@ sbt >= 1.4.7 ```` +Should be available by default on the IC Cluster. Otherwise, refer to each project installation instructions. + # Usage -Compute predictions: +## Compute predictions + ```` sbt 'runMain predict.Predictor' ```` -Compute recommendations: +## Compute recommendations ```` sbt 'runMain recommend.Recommender' ```` + +## Package for submission + +Update the ````name````, ````maintainer```` fields of ````build.sbt````, with the correct Milestone number, your ID, and your email. + +Package your application: +```` + sbt 'show dist' +```` + +You should should see an output like: +```` +[info] Your package is ready in [...]/target/universal/m1_your_id-1.0.zip +```` + +Combine this package, along side your report and any other files mentioned in the Milestone description (see Section ````Deliverables````). Submit to the TA for grading. + +# References + +Essential sbt: https://www.scalawilliam.com/essential-sbt/ + diff --git a/build.sbt b/build.sbt index c356ab2..d84bf53 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,7 @@ libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.0" % Test scalaVersion in ThisBuild := "2.13.3" enablePlugins(JavaAppPackaging) + +name := "m1_yourid" +version := "1.0" +maintainer := "your.name@epfl.ch" -- GitLab