mozilla / dryice

CommonJS/RequireJS build tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

destDir feature

outaTiME opened this issue · comments

Hi, once ...

destDir feature still working ??

thats my source:

dryice.copy({
  source: {
    root: src_directory,
    include: /.*\.js$/
  },
  destDir: {
    root: dist_directory
  }
});

output ... bang !

TypeError: Cannot read property 'value' of undefined
    at Object.copy (/Users/outaTiME/Development/projects/skycop/skyweb-mvc/node_modules/dryice/lib/dryice/index.js:62:24)
    at [object Object].action (/Users/outaTiME/Development/projects/skycop/skyweb-mvc/Jakefile:130:12)
    at [object Object].runNextTask (/usr/local/lib/node_modules/jake/lib/jake.js:363:27)
    at /usr/local/lib/node_modules/jake/lib/api.js:58:10
    at [object Object].runNextTask (/usr/local/lib/node_modules/jake/lib/jake.js:368:15)
    at /usr/local/lib/node_modules/jake/lib/api.js:58:10
    at [object Object].runNextTask (/usr/local/lib/node_modules/jake/lib/jake.js:309:11)
    at [object Object].runTask (/usr/local/lib/node_modules/jake/lib/jake.js:208:10)
    at [object Object].invoke (/usr/local/lib/node_modules/jake/lib/jake.js:56:10)
    at [object Object].action (/Users/outaTiME/Development/projects/skycop/skyweb-mvc/Jakefile:67:30)

thks !

Hmm. Thanks.
I forsee that I'm not going to be able to get to this in the next while. I raised https://bugzilla.mozilla.org/show_bug.cgi?id=707678 so I don't lose it though.
Patches accepted!

I think this is fixed with the latest dryice.
The syntax would be

dryice.copy({
source: {
root: src_directory,
include: /.*.js$/
},
dest: {
root: dist_directory
}
});

i.e. s/destDir/dest/

Shout if it doesn't work.
Thanks.

Cooool ...

Ariel Oscar Falduto
afalduto@gmail.com

On 24/01/2012, at 06:21, Joe Walker
reply@reply.github.com
wrote:

I think this is fixed with the latest dryice.
The syntax would be

dryice.copy({
source: {
root: src_directory,
include: /.*.js$/
},
dest: {
root: dist_directory
}
});

i.e. s/destDir/dest/

Shout if it doesn't work.
Thanks.


Reply to this email directly or view it on GitHub:
#22 (comment)