[Scons-dev] scons copyto /path/to/project

anatoly techtonik techtonik at gmail.com
Sat Sep 19 12:21:48 EDT 2020


1. Does argument order matters? Will that work?

scons scons-local SCONS_LOCAL_DIR=/path/to/where/I/want/it

2. There is no way at all to access such positional arguments?
Is it because all arguments are targets?
Using `--` doesn't produce an error for missing File target for
/path/to/where/I/want/it, so maybe it can still be used?

    scons scons-local -- /path/to/where/I/want/it

On Fri, Sep 11, 2020 at 8:54 PM Bill Deegan <bill at baddogconsulting.com> wrote:
>
> no more likely
> scons SCONS_LOCAL_DIR=/path/to/where/I/want/it scons-local
>
> On Fri, Sep 11, 2020 at 2:50 AM anatoly techtonik <techtonik at gmail.com> wrote:
>>
>> Do you mean the command will becomes `scons scons-local /path/to/project`?
>>
>> I still haven't found the way to pass the location to either command.
>>
>> On Tue, Sep 8, 2020 at 6:25 PM Bill Deegan <bill at baddogconsulting.com> wrote:
>> >
>> > This is probably the wrong way to go about this.
>> > I'd rather just allow passing in the location to build the scons-local and not copy it after it's been constructed.
>> > Seems a much simpler method.
>> >
>> >
>> > On Mon, Sep 7, 2020 at 1:03 PM anatoly techtonik <techtonik at gmail.com> wrote:
>> >>
>> >> On Mon, Sep 7, 2020 at 6:13 PM Bill Deegan <bill at baddogconsulting.com> wrote:
>> >> >
>> >> > yes. it belongs in the users mailing list.
>> >> > It's about using scons.
>> >> > (whether that's about installing scons it doesn't matter)
>> >> >
>> >> > So you're proposing to add this logic into SCons' own SConstruct?
>> >>
>> >> Exactly. PR message asked to discuss it first.
>> >>
>> >> > On Mon, Sep 7, 2020 at 11:01 AM anatoly techtonik <techtonik at gmail.com> wrote:
>> >> >>
>> >> >> On Sun, Sep 6, 2020 at 12:23 AM Bill Deegan <bill at baddogconsulting.com> wrote:
>> >> >> >
>> >> >> > probably should be on the users mailing list.
>> >> >>
>> >> >> Not really. I want to add a feature to copy scons-local to another
>> >> >> project directory without zipping and unzipping it.
>> >> >>
>> >> >> > Go take a look at the manpage.
>> >> >> > I think env.Install() is what you want..
>> >> >>
>> >> >> https://scons.org/doc/4.0.1/HTML/scons-user/ch11.html
>> >> >> Looks like installation is just a copy. Or is there something I missed?
>> >> >>
>> >> >> > On Sat, Sep 5, 2020 at 10:33 AM anatoly techtonik <techtonik at gmail.com> wrote:
>> >> >> >>
>> >> >> >> Hi.
>> >> >> >>
>> >> >> >> Is it possible to create a build command that will copy
>> >> >> >> SCons local to the target directory?
>> >> >> >>
>> >> >> >>     SCons/ -> /path/to/project/SCons/
>> >> >> >>     scripts/scons.py -> /path/to/project/scons
>> >> >> >>
>> >> >> >> I haven't used SCons for a while and I don't remember
>> >> >> >> how to create phony target "copyto" and handle path
>> >> >> >> parameter to it.
>> >> >> >> --
>> >> >> >> anatoly t.
>> >> >> >> _______________________________________________
>> >> >> >> Scons-dev mailing list
>> >> >> >> Scons-dev at scons.org
>> >> >> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > Scons-dev mailing list
>> >> >> > Scons-dev at scons.org
>> >> >> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> anatoly t.
>> >> >> _______________________________________________
>> >> >> Scons-dev mailing list
>> >> >> Scons-dev at scons.org
>> >> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >> >
>> >> > _______________________________________________
>> >> > Scons-dev mailing list
>> >> > Scons-dev at scons.org
>> >> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >>
>> >>
>> >>
>> >> --
>> >> anatoly t.
>> >> _______________________________________________
>> >> Scons-dev mailing list
>> >> Scons-dev at scons.org
>> >> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>> >
>> > _______________________________________________
>> > Scons-dev mailing list
>> > Scons-dev at scons.org
>> > https://pairlist2.pair.net/mailman/listinfo/scons-dev
>>
>>
>>
>> --
>> anatoly t.
>> _______________________________________________
>> Scons-dev mailing list
>> Scons-dev at scons.org
>> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev



-- 
anatoly t.


More information about the Scons-dev mailing list