Move code to root folder of studentified project
Closed this issue · 2 comments
adpi2 commented
I find it not convenient that the sbt project is in the code
folder and not in the root folder of the studentified project. I would prefer to have everything in the same folder so that I can run all the commands (git
, cmtc
and sbt
) from the same working directory.
eloots commented
Instead of moving the code
to the root folder, I would keep it as-is, but apply the following changes:
- Instead of initialising the repo as a git repo at the root folder level, only initialise the
code
folder as agit
repo. That should be an easy change (applied as an overall change in thecmta
command which is used to generate the student repo.) - With the change in the previous item, both
git
andsbt
can be used in thecode
folder. - As far as
cmtc
is concerned, I see that as a minor point as the instructions tell that the first thing a student should do is to run thecmtc set-current-course -s <course-repo-folder>
. From then on, allcmtc
invocations will be applied on the current course.
eloots commented
What you requested is now possible via scalacenter/course-management-tools#242
The only thing that is necessary is to set cmt.studentified-repo-active-exercise-folder = .
in the project's course management configuration file.