Skip to content

Commit 46476a5

Browse files
committed
Updates on docs
1 parent f14ad34 commit 46476a5

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

scripts/checksum.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
23
RESULT_FILE=$1
34

45
if [ -f $RESULT_FILE ]; then
@@ -20,4 +21,4 @@ for FILE in ${FILES[@]}; do
2021
echo $(checksum_file $FILE) >> $RESULT_FILE
2122
done
2223
# Now sort the file so that it is
23-
sort $RESULT_FILE -o $RESULT_FILE
24+
sort $RESULT_FILE -o $RESULT_FILE

scripts/dev-env-warmup.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
set -e -x -u
4+
5+
#setup gradle enterprise
6+
mkdir -p ~/.gradle
7+
echo "kotlin.build.scan.url=https://ge.jetbrains.com/" >> ~/.gradle/gradle.properties
8+
echo "kotlin.build.cache.url=https://ge.jetbrains.com/cache/" >> ~/.gradle/gradle.properties
9+
10+
#enable kotlin-native
11+
cat <<EOF > local.properties
12+
kotlin.native.enabled=true
13+
EOF
14+
15+
./gradlew classes testClasses assemble dist -Dscan.uploadInBackground=false

scripts/git-hooks.backup/pre-commit.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
23
echo "Running static analysis..."
34

45
JAVA_HOME=$(/usr/libexec/java_home -v 1.8)

0 commit comments

Comments
 (0)