forked from h5bp/html5-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added best practices of build version incrementing
Referencing http://www.ibmpressbooks.com/articles/article.aspx?p=519946 default.properties was added as well as build.properties(now used for overiding values in default.properties). Using the new buildinfo.properties file which is created dynamically to track the build number and build date. Also added a few comments and spaces between tasks to make the file easier to read. Changed .gitignore to ignore the buildinfo file not the build file.
- Loading branch information
Showing
4 changed files
with
25 additions
and
4 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
publish/ | ||
build/build.properties | ||
build/buildinfo.properties | ||
|
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,3 @@ | ||
# build.properties file defines overrides for default.properties | ||
# Explaination: This file should be created by each user as and when he or she needs to override particular values. | ||
# Consequently, it should not be placed under version control. |
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
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,3 @@ | ||
|
||
# Build Versioning | ||
html5boilerplate.build.info = buildinfo.properties |
ff3d10e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool. Lots to learn from here.
ff3d10e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check out the article links, I took most of that from the best practices there.