equal
deleted
inserted
replaced
234 |
234 |
235 // pre-2.5.0 ammonite |
235 // pre-2.5.0 ammonite |
236 // import ammonite.ops._ |
236 // import ammonite.ops._ |
237 |
237 |
238 // post 2.5.0 ammonite |
238 // post 2.5.0 ammonite |
239 import $ivy.`com.lihaoyi::os-lib:0.8.0` |
|
240 import os._ |
239 import os._ |
241 |
240 |
242 |
241 |
243 def compile_to_file(bl: Block, class_name: String) : Unit = |
242 def compile_to_file(bl: Block, class_name: String) : Unit = |
244 write.over(pwd / s"$class_name.j", compile(bl, class_name)) |
243 write.over(pwd / s"$class_name.j", compile(bl, class_name)) |