Standard library as haxelib

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Standard library as haxelib

Randy Stauner
sounds like you could use -cp to achieve the same effect (as a -std)

On Sat, May 15, 2010 at 7:47 AM, Franco Ponticelli <[hidden email]> wrote:

a switch for the compiler to specify the path to the std to use would be handy:
-std path/to/std

Why do you need that? As long as you use in your project the same file structure that exists in std, you can replace the files that you want. If you don't want to copy those files all around the projects make a lib of your modified std classes.

Franco

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Standard library as haxelib

Franco Ponticelli
On Sat, May 15, 2010 at 8:25 PM, Randy Stauner <[hidden email]> wrote:
sounds like you could use -cp to achieve the same effect (as a -std)
 
That's correct.

Franco.

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Standard library as haxelib

tong-2
On 05/16/2010 12:26 AM, Franco Ponticelli wrote:
On Sat, May 15, 2010 at 8:25 PM, Randy Stauner <[hidden email]> wrote:
sounds like you could use -cp to achieve the same effect (as a -std)
 
That's correct.

Franco.

ok.ici.

so the lookup sequence is:
* current path
* cp
* haxelib
* std (installed)

right ?


-- 
[) | 5 |< † |2 3 3 

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Standard library as haxelib

Franco Ponticelli

so the lookup sequence is:
* current path
* cp
* haxelib
* std (installed)

right ?

Yes, I guess so.

--
haXe - an open source web programming language
http://haxe.org
12