lib/jammit/packager.rb in jammit-0.3.1 vs lib/jammit/packager.rb in jammit-0.3.2
- old
+ new
@@ -97,10 +97,10 @@
end
# Absolute globs are absolute -- relative globs are relative to ASSET_ROOT.
def glob_files(glob)
absolute = Pathname.new(glob).absolute?
- Dir[absolute ? glob : File.join(ASSET_ROOT, glob)]
+ Dir[absolute ? glob : File.join(ASSET_ROOT, glob)].sort
end
# Return a list of all of the packages that should be cached. If "force" is
# true, this is all of them -- otherwise only the packages whose source
# files have changed since the last package build.
\ No newline at end of file