Skip to content

Commit c11ed3e

Browse files
committed
Template cleanup
1 parent 6ca5242 commit c11ed3e

6 files changed

Lines changed: 8 additions & 99 deletions

File tree

.github/workflows/template-cleanup.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ Once you have created a repository from this template and the `Template cleanup`
4545
Note that it is easiest to push to a repository if you set up SSH with Github, please see the [related documentation](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/connecting-to-github-with-ssh). SSH is required for pushing to a Github repository when using two-factor authentication.
4646

4747
```sh
48-
git clone git@github.com:%REPOSITORY%.git
49-
cd %NAME%
48+
git clone git@github.com:MIT-OpenCompute/RISC-V.git
49+
cd RISC-V
5050
```
51-
(The variables wrapped in `%` will be filled in by the template cleanup) <!-- #REMOVE-ON-CLEANUP# -->
5251

5352
#### Set project organization and name in build.sbt
5453

@@ -69,7 +68,7 @@ For more information about a license, check out the [Github Docs](https://docs.g
6968

7069
#### Commit your changes
7170
```sh
72-
git commit -m 'Starting %NAME%'
71+
git commit -m 'Starting RISC-V'
7372
git push origin main
7473
```
7574

@@ -84,7 +83,7 @@ sbt test
8483

8584
Alternatively, if you use Mill:
8685
```sh
87-
./mill %NAME%.test
86+
./mill RISC-V.test
8887
```
8988

9089
You should see a whole bunch of output that ends with something like the following lines

build.mill

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import mill.bsp._
1313
// to properly generate and handle test directories and output files.
1414
// See: https://github.com/com-lihaoyi/mill/issues/3840
1515

16-
object %NAME% extends SbtModule { m =>
16+
object `RISC-V` extends SbtModule { m =>
1717
override def millSourcePath = super.millSourcePath / os.up
1818
override def scalaVersion = "2.13.16"
1919
def chiselVersion = "7.0.0"

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
ThisBuild / scalaVersion := "2.13.16"
44
ThisBuild / version := "0.1.0"
5-
ThisBuild / organization := "%ORGANIZATION%"
5+
ThisBuild / organization := "com.github.mitopencompute"
66

77
val chiselVersion = "7.0.0"
88

99
lazy val root = (project in file("."))
1010
.settings(
11-
name := "%NAME%",
11+
name := "RISC-V",
1212
libraryDependencies ++= Seq(
1313
"org.chipsalliance" %% "chisel" % chiselVersion,
1414
"org.scalatest" %% "scalatest" % "3.2.19" % "test",

src/test/scala/gcd/GCDSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import org.scalatest.matchers.must.Matchers
2020
* }}}
2121
* Testing from mill:
2222
* {{{
23-
* mill %NAME%.test.testOnly gcd.GCDSpec
23+
* mill RISC-V.test.testOnly gcd.GCDSpec
2424
* }}}
2525
*/
2626
class GCDSpec extends AnyFreeSpec with Matchers with ChiselSim {

0 commit comments

Comments
 (0)