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

support for outputting dependency lines, suitable for use in a Makefile. #304

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@adamgundy

adamgundy commented Jul 2, 2011

this adds the -depends switch, which outputs a dependency line instead of producing CSS output.

this is common behavior in compilers, for example "gcc -M", and can be used to write makefiles that understand when to rebuild if an imported file has changed.

@StefanWallin

This comment has been minimized.

Show comment
Hide comment
@StefanWallin

StefanWallin Sep 16, 2011

Contributor

This is an awesome change. I was looking through different weird ways of doing this, This should definitley be merged into master.

However, you should just add this
case 'M':
between line 44 and 45 in bin/lessc to keep consistent with other compilers generating dependency lines.

Contributor

StefanWallin commented Sep 16, 2011

This is an awesome change. I was looking through different weird ways of doing this, This should definitley be merged into master.

However, you should just add this
case 'M':
between line 44 and 45 in bin/lessc to keep consistent with other compilers generating dependency lines.

@StefanWallin

This comment has been minimized.

Show comment
Hide comment
@StefanWallin

StefanWallin Oct 5, 2011

Contributor

Doesn't seem like it recurses. F.x. You have filez X, Y and Z.
X imports Y
Y imports Z

Z is not a outputted as a dependency for X. This could need fixing.

Contributor

StefanWallin commented Oct 5, 2011

Doesn't seem like it recurses. F.x. You have filez X, Y and Z.
X imports Y
Y imports Z

Z is not a outputted as a dependency for X. This could need fixing.

@StefanWallin

This comment has been minimized.

Show comment
Hide comment
@StefanWallin

StefanWallin Jan 4, 2012

Contributor

I've added my contribution into #545, didn't know how to contribute to this pull request.

Contributor

StefanWallin commented Jan 4, 2012

I've added my contribution into #545, didn't know how to contribute to this pull request.

@lukeapage

This comment has been minimized.

Show comment
Hide comment
@lukeapage

lukeapage Aug 19, 2012

Member

closing in favour of #545

Member

lukeapage commented Aug 19, 2012

closing in favour of #545

@lukeapage lukeapage closed this Aug 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment