Skip to content

Commit 8efa307

Browse files
Use mill instead of sbt, and bump version to 1.4.0
1 parent 3fd7309 commit 8efa307

16 files changed

Lines changed: 48 additions & 28 deletions

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
*.class
22
*.log
33

4+
# mill
5+
out/*
6+
47
# sbt specific
58
.cache
69
.history

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ switch to a monospaced font and text doesn't *appear* lined up as a result.)
3030

3131
To run the jar file, use this:
3232

33-
java -jar ElasticNotepad.jar
33+
java -jar elastic-notepad.jar
3434

3535
## Changing it
3636

3737
When developing, it can be run with:
3838

39-
sbt run
39+
mill app.run
4040

4141
You can build a new jar file with:
4242

43-
sbt clean assembly
43+
mill clean && mill app.assembly
4444

4545
## Ugly font rendering?
4646

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import fileHandling.{chooseAndLoadTextFile, loadScratchFile, saveTextFile, saveT
1717
import settings.{FontCC, Settings}
1818
import textPanes.{EditorTextPane, ElasticTextPane}
1919

20-
2120
object ElasticNotepad extends SimpleSwingApplication {
2221

2322
if (System.getProperty("os.name") == "Mac OS X") {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import javax.swing.undo.{CannotRedoException, CannotUndoException, UndoManager}
1111
import scala.swing.{Action, Dialog, TextPane}
1212
import scala.swing.event.{Key, KeyPressed}
1313

14-
import buildInfo.BuildInfo.{name => appName, version => appVersion}
14+
import BuildInfo.{appName, appVersion}
1515

1616
import elasticTabstops.{split, splitAndStrip, calcTabstopPositions, spacesToTabs, tabsToSpaces}
1717
import fileHandling.{chooseAndLoadTextFile, loadScratchFile, saveTextFile, saveTextFileAs}

0 commit comments

Comments
 (0)