forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate pages using branch (fake build to test)
- Loading branch information
Showing
4 changed files
with
52 additions
and
44 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
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 @@ | ||
COMMIT_SHA=$(git rev-parse master) | ||
DATE=$(date --iso-8601) | ||
REPORTS_DIR="$(realpath ../reports)" |
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,34 @@ | ||
#!/usr/bin/bash | ||
|
||
source constants.sh | ||
|
||
git checkout gh-pages | ||
|
||
cp "${REPORTS_DIR}"/* . | ||
|
||
echo " | ||
<html> | ||
<head> | ||
<title>Reports for ${DATE} [${COMMIT_SHA}]</title> | ||
</head> | ||
<body> | ||
<h2>Comparison:</h2> | ||
TODO | ||
<hr> | ||
<h2>Raw CSV files:</h2> | ||
<a href="./bundle-sizes.csv">bundle-sizes.csv</a> | ||
<a href="./bundle-sizes-with-internals.csv">bundle-sizes-with-internals.csv</a> | ||
<a href="./bundle-imports.csv">bundle-imports.csv</a> | ||
<a href="./source-imports.csv">source-imports.csv</a> | ||
<a href="./java-imports.csv">java-imports.csv</a> | ||
</body> | ||
</html> | ||
" > index.html | ||
|
||
git add . | ||
git commit -m "Reports for ${DATE} [${COMMIT_SHA}]" | ||
git push |
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