Skip to content

Commit

Permalink
wip: nixify
Browse files Browse the repository at this point in the history
  • Loading branch information
pshirshov committed Oct 30, 2024
1 parent 16d1cdb commit 0fc7ed0
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 12 deletions.
5 changes: 3 additions & 2 deletions devops/.env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
set -e
set -x

export _JAVA_OPTIONS="-Xmx4000M -XX:ReservedCodeCacheSize=384M -XX:NonProfiledCodeHeapSize=256M -XX:MaxMetaspaceSize=1024M"

export SCALA212=$(cat project/Deps.sc | grep 'val scala212 ' | sed -r 's/.*\"(.*)\".**/\1/')
export SCALA213=$(cat project/Deps.sc | grep 'val scala213 ' | sed -r 's/.*\"(.*)\".**/\1/')
Expand All @@ -27,4 +26,6 @@ export JAVA_HOME="${!JDK_VERSION_VAR}"
export PATH=$JAVA_HOME/bin:$PATH

export COURSIER_CACHE="$HOME/.cache/coursier"
mkdir -p "${COURSIER_CACHE}"
mkdir -p "${COURSIER_CACHE}"

export _JAVA_OPTIONS="-Dcoursier.cache=${COURSIER_CACHE} -Xmx4000M -XX:ReservedCodeCacheSize=384M -XX:NonProfiledCodeHeapSize=256M -XX:MaxMetaspaceSize=1024M"
1 change: 0 additions & 1 deletion devops/coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -e
set -x

source ./devops/.env.sh
printenv

sbt -batch -no-colors -v \
"$VERSION_COMMAND clean" \
Expand Down
1 change: 0 additions & 1 deletion devops/gen-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ set -e
set -x

source ./devops/.env.sh
printenv

bash sbtgen.sc --js
1 change: 0 additions & 1 deletion devops/gen-jsonly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ set -e
set -x

source ./devops/.env.sh
printenv

bash sbtgen.sc --nojvm --js
1 change: 0 additions & 1 deletion devops/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ set -e
set -x

source ./devops/.env.sh
printenv

bash sbtgen.sc
2 changes: 0 additions & 2 deletions devops/publish-scala.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -e
set -x

source ./devops/.env.sh
printenv

source ./devops/.validate-publishing.sh

[[ ! -f "$SONATYPE_SECRET" ]] && echo "SONATYPE_SECRET=$SONATYPE_SECRET is not a file" && exit 0
Expand Down
2 changes: 0 additions & 2 deletions devops/site-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set -e
set -x

source ./devops/.env.sh
printenv

source ./devops/.validate-publishing.sh

sbt -batch -no-colors -v \
Expand Down
1 change: 0 additions & 1 deletion devops/site-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -e
set -x

source ./devops/.env.sh
printenv

sbt -batch -no-colors -v \
"project docs" \
Expand Down
1 change: 0 additions & 1 deletion devops/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -e
set -x

source ./devops/.env.sh
printenv

sbt -batch -no-colors -v \
"$VERSION_COMMAND clean" \
Expand Down

0 comments on commit 0fc7ed0

Please sign in to comment.