Skip to content

Commit

Permalink
feat: add lst.push.App
Browse files Browse the repository at this point in the history
  • Loading branch information
GirZ0n committed Jul 7, 2023
1 parent b7f596f commit 117c60a
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gifs/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ abstract class GenerateGif : Exec() {
}


val lessonNameToGifConfigNames =
mapOf("almost.done" to listOf("ChooseFilter", "ChoosePicture", "GetPicture", "Photoshop", "TrimmedPicture"))
val lessonNameToGifConfigNames = mapOf(
"almost.done" to listOf("ChooseFilter", "ChoosePicture", "GetPicture", "Photoshop", "TrimmedPicture"),
"last.push" to listOf("App"),
)


val lessonGradleTasks = lessonNameToGifConfigNames.map { (lessonName, gifConfigNames) ->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
terminal_config:
cols: 70
rows: 36

interaction_config:
action_delay: 200
keystroke_delay: 75

gif_config:
common:
font_size: 32
font_family: JetBrains Mono

gifs:
- name: 'app_dark'
theme: 'jetbrains_dark'

- name: 'app'
theme: 'jetbrains_light'

scenario:
- expect: \n
- write: y

- expect: \n
- write: "yes"

- expect: \n
- write: r

- expect: \n
- write: rhombus

- expect: \n
- write: canvasGaps

- expect: \n
- write: 12

- expect: \n
- write: 3
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package org.jetbrains.kotlin.course.last.push.runners

import last.push.gif.runApp

fun main() {
runApp()
}

0 comments on commit 117c60a

Please sign in to comment.