Skip to content

Commit

Permalink
my icon noooooooooooooooooooooo (#24)
Browse files Browse the repository at this point in the history
* fix icon.png being nuked

* I am bad at my job

* bump version

---------

Co-authored-by: Cool_Mineman <[email protected]>
  • Loading branch information
IMS212 and CoolMineman authored Aug 20, 2023
1 parent 5b00fc7 commit 3f792fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ public void updateProject(Path projectRoot, IdeModule... ideModules) {
Path ideaPath = projectRoot.resolve(".idea");

if (Files.exists(ideaPath)) {
// Delete everything in .idea except for vcs.xml
// We skip vcs.xml since otherwise we'll reset people's Git configurations
// Delete everything in .idea except for vcs.xml and icon.png/svg
// We skip these since otherwise we'll reset people's configurations
try (DirectoryStream<Path> files = Files.newDirectoryStream(ideaPath,
file -> !"vcs.xml".equals(file.getFileName().toString()))) {
file -> !(file.getFileName().toString().equals("vcs.xml") || file.getFileName().toString().startsWith("icon.")))) {
for (Path file : files) {
if (Files.isDirectory(file)) {
PathUtil.deleteDirectory(file);
Expand Down
2 changes: 1 addition & 1 deletion buildscript/src/main/java/Buildscript.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public final void test() {
public final BJavaModule brachyura = new BJavaModule() {
@Override
MavenId getId() {
return new MavenId(GROUP, "brachyura", "0.95");
return new MavenId(GROUP, "brachyura", "0.96");
}

@Override
Expand Down

0 comments on commit 3f792fc

Please sign in to comment.