Skip to content

Commit

Permalink
Update and rename build.sc to build.mill (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored Oct 24, 2024
1 parent c650c79 commit 78e0970
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.sc → build.mill
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
package build
import $packages._
import $file.docs.generateDocs
import $ivy.`de.tototec::de.tobiasroeser.mill.vcs.version::0.4.0`
import $ivy.`com.github.lolgab::mill-mima::0.1.0`
Expand Down
3 changes: 2 additions & 1 deletion docs/generateDocs.sc → docs/generateDocs.mill
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package build.docs
import collection.mutable
val generatedCodeHeader = "[//]: # (GENERATED SOURCES, DO NOT EDIT DIRECTLY)"
def generateTutorial(sourcePath: os.Path, destPath: os.Path) = {
Expand Down Expand Up @@ -182,4 +183,4 @@ case class Record(suiteName: String,

object Record {
implicit val rw: upickle.default.ReadWriter[Record] = upickle.default.macroRW
}
}
1 change: 1 addition & 0 deletions docs/package.mill
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package build.docs

0 comments on commit 78e0970

Please sign in to comment.