mirror of
https://github.com/GayPizzaSpecifications/dough.git
synced 2026-11-04 18:22:20 +00:00
Pizza Samples
This commit is contained in:
13 files changed
+139
-64
No files matched your search
@@ -0,0 +1,13 @@
|
||||
plugins {
|
||||
dough_sample
|
||||
}
|
||||
|
||||
kotlin {
|
||||
sourceSets {
|
||||
commonMain {
|
||||
dependencies {
|
||||
implementation(project(":dough-fs"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import gay.pizza.dough.fs.PlatformFsProvider
|
||||
import gay.pizza.dough.fs.walk
|
||||
|
||||
fun main() {
|
||||
val currentWorkingDirectory = PlatformFsProvider.currentWorkingDirectory
|
||||
for (item in currentWorkingDirectory.walk()) {
|
||||
val relative = item.relativeTo(currentWorkingDirectory)
|
||||
println(relative.fullPathString)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user