This repository has been archived by the owner on Mar 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor documentation to make it easier for students to maintain (#…
…1018) As students are not required to maintain certain sections of the developer guide, let's extract those sections into their own files. [1/4] Extract section on setting up into a separate document [2/4] Extract section on documentation into a separate document [3/4] Extract section on testing into a separate document [4/4] Extract section on dev ops into a separate document
- Loading branch information
Showing
5 changed files
with
331 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
= AddressBook Level 4 - Dev Ops | ||
:site-section: DeveloperGuide | ||
:toc: | ||
:toc-title: | ||
:toc-placement: preamble | ||
:sectnums: | ||
:imagesDir: images | ||
:stylesDir: stylesheets | ||
:xrefstyle: full | ||
ifdef::env-github[] | ||
:tip-caption: :bulb: | ||
:note-caption: :information_source: | ||
:warning-caption: :warning: | ||
endif::[] | ||
:repoURL: https://github.com/se-edu/addressbook-level4/tree/master | ||
|
||
== Build Automation | ||
|
||
See <<UsingGradle#, UsingGradle.adoc>> to learn how to use Gradle for build automation. | ||
|
||
== Continuous Integration | ||
|
||
We use https://travis-ci.org/[Travis CI] and https://www.appveyor.com/[AppVeyor] to perform _Continuous Integration_ on our projects. See <<UsingTravis#, UsingTravis.adoc>> and <<UsingAppVeyor#, UsingAppVeyor.adoc>> for more details. | ||
|
||
== Coverage Reporting | ||
|
||
We use https://coveralls.io/[Coveralls] to track the code coverage of our projects. See <<UsingCoveralls#, UsingCoveralls.adoc>> for more details. | ||
|
||
== Documentation Previews | ||
|
||
When a pull request has changes to asciidoc files, you can use https://www.netlify.com/[Netlify] to see a preview of how the HTML version of those asciidoc files will look like when the pull request is merged. See <<UsingNetlify#, UsingNetlify.adoc>> for more details. | ||
|
||
== Making a Release | ||
|
||
Here are the steps to create a new release. | ||
|
||
. Update the version number in link:{repoURL}/src/main/java/seedu/address/MainApp.java[`MainApp.java`]. | ||
. Generate a JAR file <<UsingGradle#creating-the-jar-file, using Gradle>>. | ||
. Tag the repo with the version number. e.g. `v0.1` | ||
. https://help.github.com/articles/creating-releases/[Create a new release using GitHub] and upload the JAR file you created. | ||
|
||
== Managing Dependencies | ||
|
||
A project often depends on third-party libraries. For example, Address Book depends on the https://github.com/FasterXML/jackson[Jackson library] for JSON parsing. Managing these _dependencies_ can be automated using Gradle. For example, Gradle can download the dependencies automatically, which is better than these alternatives: | ||
|
||
[loweralpha] | ||
. Include those libraries in the repo (this bloats the repo size) | ||
. Require developers to download those libraries manually (this creates extra work for developers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.