Skip to content

Commit

Permalink
🐛Fix link issue for awslib
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudroques committed Nov 30, 2024
1 parent 629c927 commit a75f75f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
id("java")
id("application")
id("com.github.johnrengelman.shadow") version "7.1.2"
id("eclipse")
}

Expand All @@ -12,8 +11,6 @@ repositories {
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.1")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.1")
implementation("com.beust:jcommander:1.81")
implementation("org.fusesource.jansi:jansi:2.4.0")
implementation("net.sourceforge.plantuml:plantuml:1.2024.5")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,17 @@ public class StdlibFolderBuilder {
*/
public StdlibFolderBuilder(String name) throws IOException {
this.dir = new File("stdlib", name);
System.err.println("in " + dir);
final File rawFolder = rawFolder();

final File spritesFile = new File(rawFolder, name.toLowerCase() + "-def.repx");
final File textFile = new File(rawFolder, name.toLowerCase() + "-abc.repx");
final File colorImagesFile = new File(rawFolder, name.toLowerCase() + "-ghi.repx");

final String infoString = readInfo(new File(dir, "README.md"));
System.err.println("infoString:" + infoString.replace('\n', ' '));
this.texts = new DataOutputStream(new FileOutputStream(textFile));
texts.writeUTF(infoString);

if (infoString.contains("LINK=")) {
System.err.println("Link!");
if (infoString.contains("link:")) {
texts.writeUTF(SEPARATOR);
texts.close();
} else {
Expand Down

0 comments on commit a75f75f

Please sign in to comment.