witty-crayon-22786
05/22/2017, 5:03 PMwitty-crayon-22786
05/22/2017, 5:12 PMwitty-crayon-22786
05/22/2017, 5:12 PMwitty-crayon-22786
05/22/2017, 5:12 PMwitty-crayon-22786
05/22/2017, 5:13 PM$ cat testprojects/src/resources/org/pantsbuild/testproject/ordering/BUILD
SOURCES=['p', 'a', 'n', 't', 's', 'b', 'u', 'i', 'l', 'd', 'p', 'a', 'n', 't', 's']
resources(
name='literal',
sources=SOURCES,
)
resources(
name='globs',
sources=globs(*SOURCES),
)
witty-crayon-22786
05/22/2017, 5:13 PMwitty-crayon-22786
05/22/2017, 5:15 PMstraight-waiter-86090
05/22/2017, 5:15 PMsorted
from my test, it prints the filenames in the order specified in the globs.witty-crayon-22786
05/22/2017, 5:15 PMwitty-crayon-22786
05/22/2017, 5:15 PMwitty-crayon-22786
05/22/2017, 5:15 PMwitty-crayon-22786
05/22/2017, 5:16 PMwitty-crayon-22786
05/22/2017, 5:16 PMstraight-waiter-86090
05/22/2017, 5:16 PMwitty-crayon-22786
05/22/2017, 5:16 PMwitty-crayon-22786
05/22/2017, 5:16 PMwitty-crayon-22786
05/22/2017, 5:16 PMstraight-waiter-86090
05/22/2017, 5:18 PMsorted
code from the v1 fingerprint code, mostly to make sure the sha1 of the files were the same.straight-waiter-86090
05/22/2017, 5:18 PMstraight-waiter-86090
05/22/2017, 5:20 PMEagerFilesetWithSpec
.witty-crayon-22786
05/22/2017, 5:24 PMwitty-crayon-22786
05/22/2017, 5:24 PMwitty-crayon-22786
05/22/2017, 5:29 PM.pants.d/snapshots
witty-crayon-22786
05/22/2017, 5:29 PMstraight-waiter-86090
05/22/2017, 5:46 PMwitty-crayon-22786
05/22/2017, 5:47 PMwitty-crayon-22786
05/22/2017, 5:47 PMwitty-crayon-22786
05/22/2017, 5:47 PMstraight-waiter-86090
05/22/2017, 5:47 PMstraight-waiter-86090
05/22/2017, 5:48 PM➜ scratch ls *.tar
4e6156c80841df389f1ec3e75da31bbbe0239281aeae7a17fc388916cdb1e08d.tar 5028e8fbc2062fa1ab7b5b3aec8822eba987eda65909bbb64738f7f3511fd075.tar
➜ scratch ls -l *.tar
-rw-r--r-- 1 dyoung SKYDIVE\Domain Users 124416 May 22 13:42 4e6156c80841df389f1ec3e75da31bbbe0239281aeae7a17fc388916cdb1e08d.tar
-rw-r--r-- 1 dyoung SKYDIVE\Domain Users 124416 May 22 13:44 5028e8fbc2062fa1ab7b5b3aec8822eba987eda65909bbb64738f7f3511fd075.tar
➜ scratch md5 *.tar
MD5 (4e6156c80841df389f1ec3e75da31bbbe0239281aeae7a17fc388916cdb1e08d.tar) = 947386a1d5faedea424672986b6200c7
MD5 (5028e8fbc2062fa1ab7b5b3aec8822eba987eda65909bbb64738f7f3511fd075.tar) = 451e8c6b0f1c41ed211ed0da53d19d2c