Skip to content

Commit ae68921

Browse files
author
Jakob Odersky
committed
0.7.3
1 parent 0020e43 commit ae68921

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

build.sc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ trait OsModule extends OsLibModule{
136136
def ivyDeps = Agg(
137137
ivy"com.lihaoyi::geny::0.6.5"
138138
)
139+
def scalacOptions = Seq("-release", "8")
139140
}
140141

141142
trait WatchModule extends OsLibModule{

readme.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OS-Lib 0.7.1 [![Build Status][travis-badge]][travis-link] [![Gitter Chat][gitter-badge]][gitter-link] [![Patreon][patreon-badge]][patreon-link]
1+
# OS-Lib 0.7.3 [![Build Status][travis-badge]][travis-link] [![Gitter Chat][gitter-badge]][gitter-link] [![Patreon][patreon-badge]][patreon-link]
22

33
[travis-badge]: https://travis-ci.org/lihaoyi/os-lib.svg
44
[travis-link]: https://travis-ci.org/lihaoyi/os-lib
@@ -50,7 +50,7 @@ If you use OS-Lib and like it, you will probably enjoy the following book by the
5050
- [*Hands-on Scala Programming*](https://www.handsonscala.com/)
5151

5252
*Hands-on Scala* has uses OS-Lib extensively throughout the book, and has
53-
the entirety of *Chapter 7: Files and Subprocesses* dedicated to
53+
the entirety of *Chapter 7: Files and Subprocesses* dedicated to
5454
OS-Lib. *Hands-on Scala* is a great way to level up your skills in Scala
5555
in general and OS-Lib in particular.
5656

@@ -161,9 +161,9 @@ To begin using OS-Lib, first add it as a dependency to your project's build:
161161

162162
```scala
163163
// SBT
164-
"com.lihaoyi" %% "os-lib" % "0.7.1"
164+
"com.lihaoyi" %% "os-lib" % "0.7.3"
165165
// Mill
166-
ivy"com.lihaoyi::os-lib:0.7.1"
166+
ivy"com.lihaoyi::os-lib:0.7.3"
167167
```
168168

169169
## Cookbook
@@ -303,7 +303,7 @@ os.read(wd / "Multi Line.txt") ==>
303303
#### os.read.bytes
304304

305305
```scala
306-
os.read.bytes(arg: os.ReadablePath): Array[Byte]
306+
os.read.bytes(arg: os.ReadablePath): Array[Byte]
307307
os.read.bytes(arg: os.Path, offset: Long, count: Int): Array[Byte]
308308
```
309309

@@ -435,9 +435,9 @@ ujson.read(readable)
435435
#### os.write
436436

437437
```scala
438-
os.write(target: Path,
439-
data: os.Source,
440-
perms: PermSet = null,
438+
os.write(target: Path,
439+
data: os.Source,
440+
perms: PermSet = null,
441441
createFolders: Boolean = false): Unit
442442
```
443443

@@ -882,7 +882,7 @@ os.read(wd / "File.txt") ==>
882882
|I weigh twice as much as you
883883
|And I look good on the barbecue""".stripMargin
884884
```
885-
885+
886886
`os.copy` can also be used as a transformer:
887887

888888
```scala
@@ -2077,6 +2077,15 @@ string, int or set representations of the `os.PermSet` via:
20772077

20782078
## Changelog
20792079

2080+
### 0.7.3
2081+
2082+
- Add support for Scala 3.0.0-RC1
2083+
- Migration of the CI system from Travis CI to GitHub Actions
2084+
2085+
### 0.7.2
2086+
2087+
- Add support for Scala 3.0.0-M3
2088+
20802089
### 0.7.1
20812090

20822091
- Improve performance of `os.write` by buffering output stream to files

0 commit comments

Comments
 (0)