Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete support of source files #2

Closed
fenollp opened this issue Jan 6, 2016 · 9 comments
Closed

Complete support of source files #2

fenollp opened this issue Jan 6, 2016 · 9 comments

Comments

@fenollp
Copy link

fenollp commented Jan 6, 2016

If we don't know which OTP release a project will compile with, how will we be able to run Geas? As of now it only runs on compiled projects!

Please add support for source files (erlang at least).
Once support is ready, we can add Geas output to other.erldocs.com. There's an issue there already erldocs/other.erldocs.com#88

@crownedgrouse
Copy link
Owner

Yes, actually geas is to be used on own projects and dependencies , so generally, compilation is ok and geas usefull to know on what other release the global project can run, mainly due to dependancies contraints.
A source mode is usefull for the reason you gave, mainly when using geas on a large bunch of external projects.
I will look into this !

@crownedgrouse
Copy link
Owner

Note, you can run geas, let say with 17.5 , and be able to know if a project can run on 18.2 if the geas database is uptodate.
But the need is to know what release is needed to compile.

@crownedgrouse
Copy link
Owner

my last commit allow to check source files if environment variable GEAS_USE_SRC=1 is set.
(unset or GEAS_USE_SRC=0 to go back to default).
Your feedback welcome.

@fenollp
Copy link
Author

fenollp commented Jan 10, 2016

Looking forward to it! How can I use geas on a non rebar/erlang.mk project with GEAS_USE_SRC=1 set?

@crownedgrouse
Copy link
Owner

Geas do not care of build system. It analyze only. app or .app.src, Beam files or erl files, depending env variable.

@crownedgrouse
Copy link
Owner

By using geas:info() in a shell, or an escript

@crownedgrouse
Copy link
Owner

Need only a path to root directory

@fenollp
Copy link
Author

fenollp commented Jan 14, 2016

Nice! Could you update the README? I'll close the issue afterwards :)

@crownedgrouse
Copy link
Owner

you may not have seen it, but the readme was updated tonight. does it fit to you ?

@fenollp fenollp closed this as completed Jan 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants