equal
deleted
inserted
replaced
251 |
251 |
252 // pre-2.5.0 ammonite |
252 // pre-2.5.0 ammonite |
253 // import ammonite.ops._ |
253 // import ammonite.ops._ |
254 |
254 |
255 // post 2.5.0 ammonite |
255 // post 2.5.0 ammonite |
256 import $ivy.`com.lihaoyi::os-lib:0.8.0` |
256 // import os._ |
257 |
257 |
258 //@doc("Tokenising a file.") |
258 //@doc("Tokenising a file.") |
259 @main |
259 @main |
260 def main(fname: String) = { |
260 def main(fname: String) = { |
261 println(tokenise(os.read(os.pwd / fname))) |
261 println(tokenise(os.read(os.pwd / fname))) |