Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Conversation

@lunkwill42
Copy link
Contributor

Well rested from my vacation, I was planning to look at a fix for #55, as discussed in #215. Then I was pleasantly surprised to find that #258 fixed it while I was away, and that #215 now could be closed :-)

However, I did not find #258 to work at all. The build_sass build command invokes Manifest.build(), which in turn invokes the build_directory() function to compile an entire directory structures of SASS files. #258 only patches and tests the Manifest.build_one() method, which is apparently never invoked by build_sass.

This PR attempts to remedy that.

The distutils build_sass command runs the Manifest.build() method, not the
Manifest.build_one() method. The former does not honor the strip_extension
option.
Copy link
Member

@asottile asottile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet! I knew my original PR was too simple 😆

@asottile asottile merged commit 8eedaa6 into sass:master Aug 23, 2018
@lunkwill42 lunkwill42 deleted the strip-extensions-from-build-directory branch August 27, 2018 07:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants