cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anis KADRI <anis.ka...@gmail.com>
Subject Re: Platform-level command line scripts ;)
Date Thu, 21 Mar 2013 23:40:32 GMT
…or you can have functions do discrete actions like so:

https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=blob;f=bin/templates/cordova/cordova;h=1945a4c45f835a6eab3836c4154e518b902d88c6;hb=HEAD

…instead of creating more inodes.


On Thu, Mar 21, 2013 at 4:30 PM, Brian LeRoux <b@brian.io> wrote:

> > You could make more scripts as helper scripts, but I still think that it
> > will be confusing if a user types "ls" and sees a large number of
> scripts,
> > having to guess what each of them does.
>
> Put them in a subdir called ./lib and be done w/ it.
>
>
> > I don't think having more scripts will make it more likely that the
> scripts
> > will be consistent across platforms.
>
> Ah, but having smaller responsibilities for a module of code makes it
> more testable in discreet form making it easier to confirm said
> suspicions.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message