Skip to content

Commit

Permalink
check for xmodules
Browse files Browse the repository at this point in the history
  • Loading branch information
dours committed Oct 31, 2022
1 parent 160001e commit a4e79cc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ object Transpile {
if (f.exists) {
val dir = File(s"$outputPath/xmodules").toDirectory.createDirectory(false, false)
assert(File(s"$outputPath/xmodules").toDirectory.exists)
println(s"created dir ${dir.path}")
Main.transpile("x" + name, f.slurp(), f.path, (s"$outputPath/xmodules"), Parameters(wrapInAFunction = false, isModule = true))
}
})
Expand Down

0 comments on commit a4e79cc

Please sign in to comment.