File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
utilcode/src/test/java/com/blankj/utilcode/utils Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -33,4 +33,21 @@ public void generateDogeMD() throws Exception {
33
33
}
34
34
FileUtils .writeFileFromString ("F:/MyGithub/doge-expression/README.md" , sb .toString (), false );
35
35
}
36
+
37
+ @ Test
38
+ public void generateDogeNames () throws Exception {
39
+ StringBuilder sb = new StringBuilder ();
40
+ File file = new File ("F:/MyGithub/doge-expression/expression" );
41
+ List <File > files = FileUtils .listFilesInDir (file );
42
+ for (File f : files ) {
43
+ String name = f .getName ();
44
+ sb .append ("![" )
45
+ .append (name )
46
+ .append ("]" )
47
+ .append ("(https://github.com/Blankj/doge-expression/raw/master/expression/" )
48
+ .append (name )
49
+ .append (") \n " );
50
+ }
51
+ FileUtils .writeFileFromString ("F:/MyGithub/doge-expression/README.md" , sb .toString (), false );
52
+ }
36
53
}
You can’t perform that action at this time.
0 commit comments