From d842e51dbc483cf3e5e06af4dd16bbe20db621f4 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 31 Aug 2018 14:57:44 +0200 Subject: [PATCH] Updates --- .gitignore | 3 +++ .gitmodules | 3 +++ README.md | 3 +++ codingame-scala-kit-forked | 1 + enhance | 2 +- 5 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 160000 codingame-scala-kit-forked diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee4c82b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +target +.idea +*~ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d5d8ea9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "codingame-scala-kit-forked"] + path = codingame-scala-kit-forked + url = git@github.com:huiwang/codingame-scala-kit.git diff --git a/README.md b/README.md index 8993ed3..af607ac 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,6 @@ Codingame Challenge using the excellent Codingame-Scala-Kit : https://github.com * Clone the project * Clone https://github.com/huiwang/codingame-scala-kit.git into `codingame-scala-kit-forked` + * Symlinks `build.sbt`, `src/main/scala/com` and `project` should be referring the appropriate paths in `codingame-scala-kit-forked` + * Running `./enhanceCoK` should continuously build a file `target/CoK.scala` that you can sync with Codingame using a web-browser plugin. + diff --git a/codingame-scala-kit-forked b/codingame-scala-kit-forked new file mode 160000 index 0000000..64c7d3a --- /dev/null +++ b/codingame-scala-kit-forked @@ -0,0 +1 @@ +Subproject commit 64c7d3a83345d49582c7d0d7a6db46190617b5be diff --git a/enhance b/enhance index b21c78e..8a7181b 100755 --- a/enhance +++ b/enhance @@ -5,5 +5,5 @@ BASENAME=$(basename $0) NAME=${BASENAME##enhance} echo "Continuously testing and bundling $NAME" -sbt "~ ; test-only **.${NAME}Test ; runMain $BUNDLER $NAME.scala" +sbt "~ ; testOnly **.${NAME}Test ; runMain $BUNDLER $NAME.scala"