-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from square/jw/website-pass
Start actual website content.
- Loading branch information
Showing
6 changed files
with
86 additions
and
10 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 |
---|---|---|
|
@@ -2,13 +2,17 @@ | |
|
||
set -ex | ||
|
||
REPO="[email protected]:square/picasso.git" | ||
GROUP_ID="com.squareup.picasso" | ||
ARTIFACT_ID="picasso" | ||
|
||
DIR=temp-clone | ||
|
||
# Delete any existing temporary website clone | ||
rm -rf $DIR | ||
|
||
# Clone the current repo into temp folder | ||
git clone [email protected]:square/picasso.git $DIR | ||
git clone $REPO $DIR | ||
|
||
# Move working directory into temp folder | ||
cd $DIR | ||
|
@@ -22,6 +26,12 @@ rm -rf * | |
# Copy website files from real repo | ||
cp -R ../website/* . | ||
|
||
# Download the latest javadoc | ||
curl -L "http://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=$GROUP_ID&a=$ARTIFACT_ID&v=LATEST&c=javadoc" > javadoc.zip | ||
mkdir javadoc | ||
unzip javadoc.zip -d javadoc | ||
rm javadoc.zip | ||
|
||
# Stage all files in git and create a commit | ||
git add . | ||
git add -u | ||
|
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.