-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
112 additions
and
62 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,2 @@ | ||
mvni.sh text eol=lf | ||
loop.sh text eol=lf |
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 @@ | ||
java ~/skunk/scripts/src/main/java/ch/qos/FileWatcher.java src/site/pages c:/cygwin64/bin/bash -c "source mvni.sh" |
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,50 @@ | ||
|
||
function scpLogback() { | ||
|
||
echo ${ARGS} | ||
SOURCE=/home/ceki/slf4j-site/target/site | ||
|
||
pushd $SOURCE | ||
#i=0; | ||
for file in ${ARGS} | ||
do | ||
echo "scp ${file} yvo.qos.ch:/var/www/logback.qos.ch/htdocs/${file}"; | ||
scp ${file} yvo.qos.ch:/var/www/www.slf4j.org/htdocs/${file}; | ||
#i=$((i + 1)); | ||
done | ||
popd | ||
} | ||
|
||
function doRsync() { | ||
ssh [email protected] "rsync -r -p -z -l --exclude=log/ --delete rsync://yvo.qos.ch/www/www.slf4j.org /var/www" | ||
} | ||
|
||
|
||
ARGS="${@}" | ||
|
||
#echo "a0=${0}" | ||
#echo "a1=${1}" | ||
#echo "a2=${2}" | ||
echo "ARGS=${ARGS}" | ||
|
||
echo "This is triggered command. Triggered by ${ARGS}" | ||
|
||
echo "JAVA_HOME=$JAVA_HOME" | ||
echo "MAVEN_HOME=${MAVEN_HOME}" #=/java/maven-3.5.2/ | ||
|
||
|
||
MVN_COMMAND=${MAVEN_HOME}/bin/mvn | ||
|
||
pushd ~/slf4j-site | ||
|
||
echo "======================" | ||
${MVN_COMMAND} install | ||
scpLogback; | ||
doRsync; | ||
|
||
popd | ||
|
||
exit | ||
|
||
|
||
|
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
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
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
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
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,15 @@ | ||
|
||
document.write('<div id="sponsor">'); | ||
|
||
document.write(' <p class="sponsoredBy"> Sponsored by:</p>'); | ||
|
||
document.write(' <div class="spotify"><a href="' + prefix +'count/spotify.html" style="">'+ | ||
'<img class="spotify" alt="Spotify R&D" src="' + prefix + 'images/logos/spotify-rnd-black.png"/>'+ | ||
'</a></div>'); | ||
|
||
document.write(' <div><a href="' + prefix +'count/exoscale.html" style="">'+ | ||
'<img class="exoscale" alt="Exoscale" src="' + prefix + 'images/logos/exoscale.png"/>'+ | ||
'</a></div>'); | ||
|
||
// close div.sponsor | ||
document.write('</div>'); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.