cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian LeRoux...@brian.io>
Subject Re: Platform-level command line scripts ;)
Date Fri, 22 Mar 2013 00:29:08 GMT
I knew you'd bring that up! We'll talk more tmrw.

On Thu, Mar 21, 2013 at 4:40 PM, Anis KADRI <anis.kadri@gmail.com> wrote:
> …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
View raw message