-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update/io-1.10.0
- Loading branch information
Showing
97 changed files
with
517 additions
and
328 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 @@ | ||
# Scala Steward: Reformat with scalafmt 3.8.3 | ||
fb3b1e158c70f5b76207764dc42b128cb878b3be |
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,31 @@ | ||
name: Publish Site | ||
on: | ||
push: | ||
tags: ["*"] | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# setup build environment | ||
- uses: coursier/cache-action@v5 | ||
- uses: olafurpg/setup-scala@v12 | ||
|
||
# this setup is all for the github pages deployment to work | ||
- name: install sphinx | ||
run: | | ||
pip3 install --user sphinx sphinx_rtd_theme | ||
which sphinx-build | ||
- name: setup git | ||
run: | | ||
git config --global user.name github-actions | ||
git config --global user.email github-actions@github.com | ||
- name: Publish Site | ||
run: sbt ghpagesPushSite | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
2 changes: 1 addition & 1 deletion
2
integration-tests-ansible/test-project-play-rpm/project/build.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 |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.9.9 | ||
sbt.version=1.10.1 |
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 +1 @@ | ||
sbt.version=1.9.9 | ||
sbt.version=1.10.1 |
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
61 changes: 61 additions & 0 deletions
61
src/main/resources/com/typesafe/sbt/packager/archetypes/scripts/ash-forwarder-template
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,61 @@ | ||
#!/bin/sh | ||
|
||
# Absolute path to this script | ||
# macOS doesn't support "readlink -f" | ||
realpath () { | ||
TARGET_FILE="$1" | ||
CHECK_CYGWIN="$2" | ||
|
||
cd "$(dirname "$TARGET_FILE")" | ||
TARGET_FILE=$(basename "$TARGET_FILE") | ||
|
||
COUNT=0 | ||
while [ -L "$TARGET_FILE" -a $COUNT -lt 100 ] | ||
do | ||
TARGET_FILE=$(readlink "$TARGET_FILE") | ||
cd "$(dirname "$TARGET_FILE")" | ||
TARGET_FILE=$(basename "$TARGET_FILE") | ||
COUNT=$(($COUNT + 1)) | ||
done | ||
|
||
if [ "$TARGET_FILE" == "." -o "$TARGET_FILE" == ".." ]; then | ||
cd "$TARGET_FILE" | ||
TARGET_FILEPATH= | ||
else | ||
TARGET_FILEPATH=/$TARGET_FILE | ||
fi | ||
|
||
# make sure we grab the actual windows path, instead of cygwin's path. | ||
if [[ "x$CHECK_CYGWIN" == "x" ]]; then | ||
echo "$(pwd -P)/$TARGET_FILE" | ||
else | ||
echo $(cygwinpath "$(pwd -P)/$TARGET_FILE") | ||
fi | ||
} | ||
|
||
# Uses uname to detect if we're in the odd cygwin environment. | ||
is_cygwin() { | ||
local os=$(uname -s) | ||
case "$os" in | ||
CYGWIN*) return 0 ;; | ||
*) return 1 ;; | ||
esac | ||
} | ||
|
||
# This can fix cygwin style /cygdrive paths so we get the | ||
# windows style paths. | ||
cygwinpath() { | ||
local file="$1" | ||
if is_cygwin; then | ||
echo $(cygpath -w $file) | ||
else | ||
echo $file | ||
fi | ||
} | ||
|
||
# get the absolute path for the current script | ||
SCRIPT=$(realpath "$0") | ||
SCRIPTPATH=$(dirname "$SCRIPT") | ||
|
||
# execute the main start script | ||
$SCRIPTPATH/${{startScript}} -main ${{qualifiedClassName}} "$@" |
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
Oops, something went wrong.