Skip to content

Commit 7769e2b

Browse files
author
Daniel Ignat
authored
Normalize file endings (pluralsight#32)
* Make cross-platform development friction free Add .gitattributes recommended by gitattributes.io * Normalize all the line endings
1 parent fbfee10 commit 7769e2b

File tree

17 files changed

+2252
-2011
lines changed

17 files changed

+2252
-2011
lines changed

.gitattributes

Lines changed: 241 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,241 @@
1+
# Nothing here yet
2+
3+
# 👆 Custom rules specific to this project
4+
# 👇 This is generated, don't manually edit it, follow the links and replace the whole thing!
5+
6+
# Generated at https://gitattributes.io/ (https://gitattributes.io/api/common%2Cweb)
7+
8+
#common settings that generally should always be used with your language specific settings
9+
10+
# Auto detect text files and perform LF normalization
11+
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
12+
* text=auto
13+
14+
#
15+
# The above will handle all files NOT found below
16+
#
17+
18+
# Documents
19+
*.doc diff=astextplain
20+
*.DOC diff=astextplain
21+
*.docx diff=astextplain
22+
*.DOCX diff=astextplain
23+
*.dot diff=astextplain
24+
*.DOT diff=astextplain
25+
*.pdf diff=astextplain
26+
*.PDF diff=astextplain
27+
*.rtf diff=astextplain
28+
*.RTF diff=astextplain
29+
*.md text
30+
*.adoc text
31+
*.textile text
32+
*.mustache text
33+
*.csv text
34+
*.tab text
35+
*.tsv text
36+
*.sql text
37+
38+
# Graphics
39+
*.png binary
40+
*.jpg binary
41+
*.jpeg binary
42+
*.gif binary
43+
*.tif binary
44+
*.tiff binary
45+
*.ico binary
46+
# SVG treated as an asset (binary) by default. If you want to treat it as text,
47+
# comment-out the following line and uncomment the line after.
48+
*.svg binary
49+
#*.svg text
50+
*.eps binary
51+
## GITATTRIBUTES FOR WEB PROJECTS
52+
#
53+
# These settings are for any web project.
54+
#
55+
# Details per file setting:
56+
# text These files should be normalized (i.e. convert CRLF to LF).
57+
# binary These files are binary and should be left untouched.
58+
#
59+
# Note that binary is a macro for -text -diff.
60+
######################################################################
61+
62+
## AUTO-DETECT
63+
## Handle line endings automatically for files detected as
64+
## text and leave all files detected as binary untouched.
65+
## This will handle all files NOT defined below.
66+
* text=auto
67+
68+
## SOURCE CODE
69+
*.bat text eol=crlf
70+
*.coffee text
71+
*.css text
72+
*.htm text
73+
*.html text
74+
*.inc text
75+
*.ini text
76+
*.js text
77+
*.json text
78+
*.jsx text
79+
*.less text
80+
*.od text
81+
*.onlydata text
82+
*.php text
83+
*.pl text
84+
*.py text
85+
*.rb text
86+
*.sass text
87+
*.scm text
88+
*.scss text
89+
*.sh text eol=lf
90+
*.sql text
91+
*.styl text
92+
*.tag text
93+
*.ts text
94+
*.tsx text
95+
*.xml text
96+
*.xhtml text
97+
98+
## DOCKER
99+
*.dockerignore text
100+
Dockerfile text
101+
102+
## DOCUMENTATION
103+
*.markdown text
104+
*.md text
105+
*.mdwn text
106+
*.mdown text
107+
*.mkd text
108+
*.mkdn text
109+
*.mdtxt text
110+
*.mdtext text
111+
*.txt text
112+
AUTHORS text
113+
CHANGELOG text
114+
CHANGES text
115+
CONTRIBUTING text
116+
COPYING text
117+
copyright text
118+
*COPYRIGHT* text
119+
INSTALL text
120+
license text
121+
LICENSE text
122+
NEWS text
123+
readme text
124+
*README* text
125+
TODO text
126+
127+
## TEMPLATES
128+
*.dot text
129+
*.ejs text
130+
*.haml text
131+
*.handlebars text
132+
*.hbs text
133+
*.hbt text
134+
*.jade text
135+
*.latte text
136+
*.mustache text
137+
*.njk text
138+
*.phtml text
139+
*.tmpl text
140+
*.tpl text
141+
*.twig text
142+
143+
## LINTERS
144+
.csslintrc text
145+
.eslintrc text
146+
.htmlhintrc text
147+
.jscsrc text
148+
.jshintrc text
149+
.jshintignore text
150+
.stylelintrc text
151+
152+
## CONFIGS
153+
*.bowerrc text
154+
*.cnf text
155+
*.conf text
156+
*.config text
157+
.browserslistrc text
158+
.editorconfig text
159+
.gitattributes text
160+
.gitconfig text
161+
.htaccess text
162+
*.npmignore text
163+
*.yaml text
164+
*.yml text
165+
browserslist text
166+
Makefile text
167+
makefile text
168+
169+
## HEROKU
170+
Procfile text
171+
.slugignore text
172+
173+
## GRAPHICS
174+
*.ai binary
175+
*.bmp binary
176+
*.eps binary
177+
*.gif binary
178+
*.ico binary
179+
*.jng binary
180+
*.jp2 binary
181+
*.jpg binary
182+
*.jpeg binary
183+
*.jpx binary
184+
*.jxr binary
185+
*.pdf binary
186+
*.png binary
187+
*.psb binary
188+
*.psd binary
189+
*.svg text
190+
*.svgz binary
191+
*.tif binary
192+
*.tiff binary
193+
*.wbmp binary
194+
*.webp binary
195+
196+
## AUDIO
197+
*.kar binary
198+
*.m4a binary
199+
*.mid binary
200+
*.midi binary
201+
*.mp3 binary
202+
*.ogg binary
203+
*.ra binary
204+
205+
## VIDEO
206+
*.3gpp binary
207+
*.3gp binary
208+
*.as binary
209+
*.asf binary
210+
*.asx binary
211+
*.fla binary
212+
*.flv binary
213+
*.m4v binary
214+
*.mng binary
215+
*.mov binary
216+
*.mp4 binary
217+
*.mpeg binary
218+
*.mpg binary
219+
*.ogv binary
220+
*.swc binary
221+
*.swf binary
222+
*.webm binary
223+
224+
## ARCHIVES
225+
*.7z binary
226+
*.gz binary
227+
*.jar binary
228+
*.rar binary
229+
*.tar binary
230+
*.zip binary
231+
232+
## FONTS
233+
*.ttf binary
234+
*.eot binary
235+
*.otf binary
236+
*.woff binary
237+
*.woff2 binary
238+
239+
## EXECUTABLES
240+
*.exe binary
241+
*.pyc binary

README.md

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
1-
# Mob Timer
2-
3-
[![GitHub release](https://img.shields.io/github/release/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/releases)
4-
[![Greenkeeper badge](https://badges.greenkeeper.io/mob-timer/mob-timer.svg)](https://greenkeeper.io/)
5-
[![License](https://img.shields.io/github/license/mob-timer/mob-timer.svg)](LICENSE)
6-
[![GitHub contributors](https://img.shields.io/github/contributors/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/graphs/contributors)
7-
[![Travis (.org)](https://img.shields.io/travis/mob-timer/mob-timer/master.svg)](https://travis-ci.org/mob-timer/mob-timer/branches)
8-
[![Coverage Status](https://coveralls.io/repos/github/mob-timer/mob-timer/badge.svg?branch=master)](https://coveralls.io/github/mob-timer/mob-timer?branch=master)
9-
![GitHub All Releases](https://img.shields.io/github/downloads/mob-timer/mob-timer/total.svg)
10-
[![GitHub open idea issues](https://img.shields.io/github/issues-raw/mob-timer/mob-timer/idea.svg?color=blue)](https://github.com/mob-timer/mob-timer/issues?q=is%3Aissue+is%3Aopen+label%3Aidea)
11-
12-
A cross-platform mob-timer built on [Electron](http://electron.atom.io/)
13-
for doing [Mob Programming](http://mobprogramming.org/). This is a fork from [pluralsight/mob-timer](https://github.com/pluralsight/mob-timer).
14-
15-
![Example Timer Image](timer-example.png)
16-
17-
Click the gear icon in the top right to configure the mob-timer.
18-
Then click the large circle to start/stop the mob-timer,
19-
or the smaller circle to skip to the next mobber.
20-
21-
# Running the mob-timer
22-
23-
You can either build the mob-timer from source or [download a pre-built version](https://github.com/mob-timer/mob-timer/releases).
24-
25-
## Build mob-timer
26-
27-
Run `npm install` and then one of the following commands for your respective operating system:
28-
- Windows: `npm run build-win`
29-
- Mac OS X: `npm run build-mac`
30-
- Linux: `npm run build-linux` (You may need to install `libcanberra-gtk-module`)
31-
32-
Platform specific packages will be placed in the `dist` directory.
33-
If you need a platform other than these, you will need to modify the build script in the `package.json` file.
34-
35-
36-
# Development
37-
38-
Run `npm install` to get the dependencies, then `npm start` to run the timer.
39-
Run `npm test` to run the unit tests once, or alternatively `npm run watch` to run them on changes.
40-
41-
42-
# Contributing
43-
44-
Feel free to open Issues and Pull Requests discussing additions to this project. You can also have a look at the [existing issues](https://github.com/mob-timer/mob-timer/issues). Keep the Pull Requests small and make sure the tests and code style checks pass.
45-
46-
If you are uncertain, please reach out first (by opening an issue) before investing too much time. :)
47-
48-
# Reasons for forking
49-
50-
_This is a fork from [pluralsight/mob-timer](https://github.com/pluralsight/mob-timer), please have a look to see if that project is more suited to your needs!_ 🙂
51-
52-
There are a few main reasons for this fork existing:
53-
54-
- To build in CI and attach to release using [Travis CI](https://travis-ci.org/)
55-
- To stay up to date with dependencies using [Greenkeeper.io](https://greenkeeper.io/)
56-
- To move to code style and tooling suited for project, not needing to take internal company best practices into account
57-
- To have an independent organization where the mob-timer is the focus
58-
59-
# License
60-
61-
The Mob Timer is licensed under the [Apache 2.0 license](LICENSE).
1+
# Mob Timer
2+
3+
[![GitHub release](https://img.shields.io/github/release/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/releases)
4+
[![Greenkeeper badge](https://badges.greenkeeper.io/mob-timer/mob-timer.svg)](https://greenkeeper.io/)
5+
[![License](https://img.shields.io/github/license/mob-timer/mob-timer.svg)](LICENSE)
6+
[![GitHub contributors](https://img.shields.io/github/contributors/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/graphs/contributors)
7+
[![Travis (.org)](https://img.shields.io/travis/mob-timer/mob-timer/master.svg)](https://travis-ci.org/mob-timer/mob-timer/branches)
8+
[![Coverage Status](https://coveralls.io/repos/github/mob-timer/mob-timer/badge.svg?branch=master)](https://coveralls.io/github/mob-timer/mob-timer?branch=master)
9+
![GitHub All Releases](https://img.shields.io/github/downloads/mob-timer/mob-timer/total.svg)
10+
[![GitHub open idea issues](https://img.shields.io/github/issues-raw/mob-timer/mob-timer/idea.svg?color=blue)](https://github.com/mob-timer/mob-timer/issues?q=is%3Aissue+is%3Aopen+label%3Aidea)
11+
12+
A cross-platform mob-timer built on [Electron](http://electron.atom.io/)
13+
for doing [Mob Programming](http://mobprogramming.org/). This is a fork from [pluralsight/mob-timer](https://github.com/pluralsight/mob-timer).
14+
15+
![Example Timer Image](timer-example.png)
16+
17+
Click the gear icon in the top right to configure the mob-timer.
18+
Then click the large circle to start/stop the mob-timer,
19+
or the smaller circle to skip to the next mobber.
20+
21+
# Running the mob-timer
22+
23+
You can either build the mob-timer from source or [download a pre-built version](https://github.com/mob-timer/mob-timer/releases).
24+
25+
## Build mob-timer
26+
27+
Run `npm install` and then one of the following commands for your respective operating system:
28+
- Windows: `npm run build-win`
29+
- Mac OS X: `npm run build-mac`
30+
- Linux: `npm run build-linux` (You may need to install `libcanberra-gtk-module`)
31+
32+
Platform specific packages will be placed in the `dist` directory.
33+
If you need a platform other than these, you will need to modify the build script in the `package.json` file.
34+
35+
36+
# Development
37+
38+
Run `npm install` to get the dependencies, then `npm start` to run the timer.
39+
Run `npm test` to run the unit tests once, or alternatively `npm run watch` to run them on changes.
40+
41+
42+
# Contributing
43+
44+
Feel free to open Issues and Pull Requests discussing additions to this project. You can also have a look at the [existing issues](https://github.com/mob-timer/mob-timer/issues). Keep the Pull Requests small and make sure the tests and code style checks pass.
45+
46+
If you are uncertain, please reach out first (by opening an issue) before investing too much time. :)
47+
48+
# Reasons for forking
49+
50+
_This is a fork from [pluralsight/mob-timer](https://github.com/pluralsight/mob-timer), please have a look to see if that project is more suited to your needs!_ 🙂
51+
52+
There are a few main reasons for this fork existing:
53+
54+
- To build in CI and attach to release using [Travis CI](https://travis-ci.org/)
55+
- To stay up to date with dependencies using [Greenkeeper.io](https://greenkeeper.io/)
56+
- To move to code style and tooling suited for project, not needing to take internal company best practices into account
57+
- To have an independent organization where the mob-timer is the focus
58+
59+
# License
60+
61+
The Mob Timer is licensed under the [Apache 2.0 license](LICENSE).

0 commit comments

Comments
 (0)