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

Exclude files and folder from dist #1676

Merged
merged 1 commit into from
Dec 16, 2015
Merged

Exclude files and folder from dist #1676

merged 1 commit into from
Dec 16, 2015

Conversation

feryardiant
Copy link
Contributor

Described here https://redd.it/2jzp6k

Signed-off-by: Fery Wardiyanto <ferywardiyanto@gmail.com>
@@ -0,0 +1,12 @@
# Enforce Unix newlines
* text=lf
Copy link
Member

Choose a reason for hiding this comment

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

Do we want this @codeguy? You're the resident Windows developer, so may have an opinion?

Copy link
Member

Choose a reason for hiding this comment

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

Will look at this later today.
On Tue, Dec 15, 2015 at 3:28 AM Rob Allen notifications@github.com wrote:

In .gitattributes
#1676 (comment):

@@ -0,0 +1,12 @@
+# Enforce Unix newlines
+* text=lf

Do we want this @codeguy https://github.com/codeguy? You're the
resident Windows developer, so may have an opinion?


Reply to this email directly or view it on GitHub
https://github.com/slimphp/Slim/pull/1676/files#r47608456.

Copy link
Contributor

Choose a reason for hiding this comment

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

Unix newlines are in PSR-2 standard which Slim says it follows. Everybody should use the same newlines. Otherwise diff will be borken.

Copy link
Member

Choose a reason for hiding this comment

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

What @tuupola said. PSR-2 requires Unix LF line returns. So I give this a big 👍

Copy link
Member

Choose a reason for hiding this comment

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

;( I'm on windows too.

Copy link
Member

Choose a reason for hiding this comment

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

Git translates line returns on pull and commit. So it's not really a big deal, right?

@silentworks silentworks added this to the 3.1.0 milestone Dec 15, 2015
akrabat added a commit that referenced this pull request Dec 16, 2015
…-dist

Exclude files and folder from dist
@akrabat akrabat merged commit 98242cf into slimphp:3.x Dec 16, 2015
@feryardiant feryardiant deleted the contrib/exclude-unnecessary-dist branch December 16, 2015 19:41
@feryardiant
Copy link
Contributor Author

Thanks for merging.

Anyway, may I ask. Are you guys has plan to implement it for another repo under slimphp org?

@silentworks
Copy link
Member

@feryardiant if you see any other repo that would benefit from this, send a PR.

@feryardiant
Copy link
Contributor Author

Got it 👍

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

Successfully merging this pull request may close these issues.

None yet

6 participants