Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make GenX deployRaw handle most cases of star globs.

  • Loading branch information...
commit 673e0e53e0c382cbc7c258f0cca5edcf1916561f 1 parent bc11a67
@flaviusb authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 genx.ik
View
4 genx.ik
@@ -34,8 +34,8 @@ GenX = Origin mimic do(
fileFrom = "". fileTo = ""
case(theFile,
Pair, fileFrom = theFile key. fileTo = theFile value,
- Text, fileFrom = theFile. fileTo = theFile)
- "Deploying file #{fileFrom} as #{fileTo}" println
+ Text, fileFrom = theFile. if(theFile =~ #/.*\*.*/, fileTo = "", fileTo = theFile)
+ "Deploying file #{fileFrom} as #{if(fileTo != "", fileTo, base + fileFrom)}" println
Shell out("cp", fileFrom, base + fileTo)))
sitemap:filter = fn(name,
if(name =~ #/({name}.*)\.html/,
Please sign in to comment.
Something went wrong with that request. Please try again.