Libraryless. Click here for Pure Java version (749L/6K/18K).
!752 p { L<File> files = findAllFiles_noDirs(new File(userHome(), "dev/mochadoom-src/src")); new StringBuilder buf; for (File f : files) if (f.getName().endsWith(".java")) { buf.append(loadTextFile(f) + "\n"); print(f2s(f) + " [" + l(buf) + "]"); } saveTextFileVerbose(getProgramFile("mochadoom.java"), str(buf)); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005014 |
Snippet name: | Merge all .java files in a directory [Mocha Doom Sources] |
Eternal ID of this version: | #1005014/1 |
Text MD5: | 316e4fd1058dccc1d282479785a2f78b |
Transpilation MD5: | f141e360e68c156aa3d44b7e1036fcea |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-09-27 23:03:59 |
Source code size: | 355 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 661 / 927 |
Referenced in: | #1005018 - Split single source into .java files [WORKS for simple cases, e.g. "Mocha Doom"] |