Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalise studentify #25

Closed
wants to merge 5 commits into from
Closed

Generalise studentify #25

wants to merge 5 commits into from

Conversation

eloots
Copy link
Collaborator

@eloots eloots commented Feb 8, 2017

Added support for non-standard Java/Scala projects

Cherry-picked commit edca749 Don't delete the sbt opts file from Wade from branch support-lagom. Other commits in this branch were already implemented in branch generalise-studentify.

For a non-Java/Scala project, one needs to create a file .student-settings.conf in the root folder of the course master repository.

Suppose that across all exercises in the course, the following folders contain test code that must be pulled in by the nextExercise, prevExercise or gotoExerciseNr commands:

src/test
BiddingImpl/test
DashImpl/test

In order for this to work,

the following line is added to .student-settings.conf:

TestCodeFolders=src/test:BiddingImpl/test:DashImpl/test

Instead of replacing 'src/main', copy the root folder of the
project
Read settings in 'key=value' style from a given configuration file
Typesafe config isn't used to avoid mingling of config files with
exercise config files
Default configuration will work out of the box for Java/Scala projects
For other style projects (Play, Lagom, ...) the folders holding
test code can be specified in a configuration file
@eloots
Copy link
Collaborator Author

eloots commented Apr 10, 2017

Superseded by PR #32

@eloots eloots closed this Apr 10, 2017
@eloots eloots mentioned this pull request Apr 10, 2017
@eloots eloots deleted the generalise-studentify branch April 29, 2019 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant