Skip to content

Commit e6195cf

Browse files
authored
Merge pull request #434 from codecrafters-io/andy/kotlin-2
Use `gradle distTar` in Kotlin compile.sh
2 parents 0493443 + c047308 commit e6195cf

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

compiled_starters/kotlin/.codecrafters/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
set -e # Exit on failure
1010

11-
gradle build
11+
gradle distTar
1212
cd /tmp/codecrafters-build-redis-kotlin/distributions
1313
rm -rf app
1414
tar -xvf app.tar

compiled_starters/kotlin/your_program.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -e # Exit early if any commands fail
1414
# - Edit .codecrafters/compile.sh to change how your program compiles remotely
1515
(
1616
cd "$(dirname "$0")" # Ensure compile steps are run within the repository directory
17-
gradle build
17+
gradle distTar
1818
cd /tmp/codecrafters-build-redis-kotlin/distributions
1919
rm -rf app
2020
tar -xvf app.tar

solutions/kotlin/01-jm1/code/.codecrafters/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
set -e # Exit on failure
1010

11-
gradle build
11+
gradle distTar
1212
cd /tmp/codecrafters-build-redis-kotlin/distributions
1313
rm -rf app
1414
tar -xvf app.tar

solutions/kotlin/01-jm1/code/your_program.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -e # Exit early if any commands fail
1414
# - Edit .codecrafters/compile.sh to change how your program compiles remotely
1515
(
1616
cd "$(dirname "$0")" # Ensure compile steps are run within the repository directory
17-
gradle build
17+
gradle distTar
1818
cd /tmp/codecrafters-build-redis-kotlin/distributions
1919
rm -rf app
2020
tar -xvf app.tar

starter_templates/kotlin/code/.codecrafters/compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
set -e # Exit on failure
1010

11-
gradle build
11+
gradle distTar
1212
cd /tmp/codecrafters-build-redis-kotlin/distributions
1313
rm -rf app
1414
tar -xvf app.tar

0 commit comments

Comments
 (0)