List actions now sorts its output alphabetically.
This commit is contained in:
parent
43f0930cf2
commit
a780d972f1
@ -1,8 +1,8 @@
|
||||
#Mon, 01 Dec 2014 12:36:42 -0600
|
||||
#Tue, 16 Dec 2014 10:49:37 -0600
|
||||
lib.local=true
|
||||
name=jdb-gtd
|
||||
version=1.12
|
||||
version=1.13
|
||||
nailgun.classpath.dir=/home/jdbernard/programs/nailgun/classpath
|
||||
executable.jar=true
|
||||
main.class=com.jdblabs.gtd.cli.GTDCLI
|
||||
build.number=1
|
||||
build.number=2
|
||||
|
@ -35,7 +35,7 @@ import static java.nio.file.StandardCopyOption.*
|
||||
* @org gtd.jdb-labs.com/cli/GTDCLI */
|
||||
public class GTDCLI {
|
||||
|
||||
public static final String VERSION = "1.12"
|
||||
public static final String VERSION = "1.13"
|
||||
private static String EOL = System.getProperty("line.separator")
|
||||
|
||||
/// We have a persistent instance when we are in the context of a Nailgun
|
||||
@ -626,7 +626,7 @@ public class GTDCLI {
|
||||
def printItems = { dir ->
|
||||
if (!dir.exists() || !dir.isDirectory()) return
|
||||
println "-- ${getRelativePath(gtdDirs.root, dir)} --"
|
||||
dir.eachFile { file ->
|
||||
dir.listFiles().sort { it.name }.each { file ->
|
||||
if (!file.exists() || !file.isFile() || file.isHidden() ||
|
||||
file.name.startsWith('.'))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user