Skip to content

Commit

Permalink
Normalize file endings (#32)
Browse files Browse the repository at this point in the history
* Make cross-platform development friction free

Add .gitattributes recommended by gitattributes.io

* Normalize all the line endings
  • Loading branch information
Daniel Ignat committed Apr 13, 2019
1 parent fbfee10 commit 7769e2b
Show file tree
Hide file tree
Showing 17 changed files with 2,252 additions and 2,011 deletions.
241 changes: 241 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
# Nothing here yet

# 👆 Custom rules specific to this project
# 👇 This is generated, don't manually edit it, follow the links and replace the whole thing!

# Generated at https://gitattributes.io/ (https://gitattributes.io/api/common%2Cweb)

#common settings that generally should always be used with your language specific settings

# Auto detect text files and perform LF normalization
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
* text=auto

#
# The above will handle all files NOT found below
#

# Documents
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.md text
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.sql text

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
# SVG treated as an asset (binary) by default. If you want to treat it as text,
# comment-out the following line and uncomment the line after.
*.svg binary
#*.svg text
*.eps binary
## GITATTRIBUTES FOR WEB PROJECTS
#
# These settings are for any web project.
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
#
# Note that binary is a macro for -text -diff.
######################################################################

## AUTO-DETECT
## Handle line endings automatically for files detected as
## text and leave all files detected as binary untouched.
## This will handle all files NOT defined below.
* text=auto

## SOURCE CODE
*.bat text eol=crlf
*.coffee text
*.css text
*.htm text
*.html text
*.inc text
*.ini text
*.js text
*.json text
*.jsx text
*.less text
*.od text
*.onlydata text
*.php text
*.pl text
*.py text
*.rb text
*.sass text
*.scm text
*.scss text
*.sh text eol=lf
*.sql text
*.styl text
*.tag text
*.ts text
*.tsx text
*.xml text
*.xhtml text

## DOCKER
*.dockerignore text
Dockerfile text

## DOCUMENTATION
*.markdown text
*.md text
*.mdwn text
*.mdown text
*.mkd text
*.mkdn text
*.mdtxt text
*.mdtext text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

## TEMPLATES
*.dot text
*.ejs text
*.haml text
*.handlebars text
*.hbs text
*.hbt text
*.jade text
*.latte text
*.mustache text
*.njk text
*.phtml text
*.tmpl text
*.tpl text
*.twig text

## LINTERS
.csslintrc text
.eslintrc text
.htmlhintrc text
.jscsrc text
.jshintrc text
.jshintignore text
.stylelintrc text

## CONFIGS
*.bowerrc text
*.cnf text
*.conf text
*.config text
.browserslistrc text
.editorconfig text
.gitattributes text
.gitconfig text
.htaccess text
*.npmignore text
*.yaml text
*.yml text
browserslist text
Makefile text
makefile text

## HEROKU
Procfile text
.slugignore text

## GRAPHICS
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary

## AUDIO
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

## VIDEO
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

## ARCHIVES
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

## FONTS
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

## EXECUTABLES
*.exe binary
*.pyc binary
122 changes: 61 additions & 61 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
# Mob Timer

[![GitHub release](https://img.shields.io/github/release/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/releases)
[![Greenkeeper badge](https://badges.greenkeeper.io/mob-timer/mob-timer.svg)](https://greenkeeper.io/)
[![License](https://img.shields.io/github/license/mob-timer/mob-timer.svg)](LICENSE)
[![GitHub contributors](https://img.shields.io/github/contributors/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/graphs/contributors)
[![Travis (.org)](https://img.shields.io/travis/mob-timer/mob-timer/master.svg)](https://travis-ci.org/mob-timer/mob-timer/branches)
[![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)
![GitHub All Releases](https://img.shields.io/github/downloads/mob-timer/mob-timer/total.svg)
[![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)

A cross-platform mob-timer built on [Electron](http://electron.atom.io/)
for doing [Mob Programming](http://mobprogramming.org/). This is a fork from [pluralsight/mob-timer](https://github.com/pluralsight/mob-timer).

![Example Timer Image](timer-example.png)

Click the gear icon in the top right to configure the mob-timer.
Then click the large circle to start/stop the mob-timer,
or the smaller circle to skip to the next mobber.

# Running the mob-timer

You can either build the mob-timer from source or [download a pre-built version](https://github.com/mob-timer/mob-timer/releases).

## Build mob-timer

Run `npm install` and then one of the following commands for your respective operating system:
- Windows: `npm run build-win`
- Mac OS X: `npm run build-mac`
- Linux: `npm run build-linux` (You may need to install `libcanberra-gtk-module`)

Platform specific packages will be placed in the `dist` directory.
If you need a platform other than these, you will need to modify the build script in the `package.json` file.


# Development

Run `npm install` to get the dependencies, then `npm start` to run the timer.
Run `npm test` to run the unit tests once, or alternatively `npm run watch` to run them on changes.


# Contributing

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.

If you are uncertain, please reach out first (by opening an issue) before investing too much time. :)

# Reasons for forking

_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!_ 🙂

There are a few main reasons for this fork existing:

- To build in CI and attach to release using [Travis CI](https://travis-ci.org/)
- To stay up to date with dependencies using [Greenkeeper.io](https://greenkeeper.io/)
- To move to code style and tooling suited for project, not needing to take internal company best practices into account
- To have an independent organization where the mob-timer is the focus

# License

The Mob Timer is licensed under the [Apache 2.0 license](LICENSE).
# Mob Timer

[![GitHub release](https://img.shields.io/github/release/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/releases)
[![Greenkeeper badge](https://badges.greenkeeper.io/mob-timer/mob-timer.svg)](https://greenkeeper.io/)
[![License](https://img.shields.io/github/license/mob-timer/mob-timer.svg)](LICENSE)
[![GitHub contributors](https://img.shields.io/github/contributors/mob-timer/mob-timer.svg)](https://github.com/mob-timer/mob-timer/graphs/contributors)
[![Travis (.org)](https://img.shields.io/travis/mob-timer/mob-timer/master.svg)](https://travis-ci.org/mob-timer/mob-timer/branches)
[![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)
![GitHub All Releases](https://img.shields.io/github/downloads/mob-timer/mob-timer/total.svg)
[![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)

A cross-platform mob-timer built on [Electron](http://electron.atom.io/)
for doing [Mob Programming](http://mobprogramming.org/). This is a fork from [pluralsight/mob-timer](https://github.com/pluralsight/mob-timer).

![Example Timer Image](timer-example.png)

Click the gear icon in the top right to configure the mob-timer.
Then click the large circle to start/stop the mob-timer,
or the smaller circle to skip to the next mobber.

# Running the mob-timer

You can either build the mob-timer from source or [download a pre-built version](https://github.com/mob-timer/mob-timer/releases).

## Build mob-timer

Run `npm install` and then one of the following commands for your respective operating system:
- Windows: `npm run build-win`
- Mac OS X: `npm run build-mac`
- Linux: `npm run build-linux` (You may need to install `libcanberra-gtk-module`)

Platform specific packages will be placed in the `dist` directory.
If you need a platform other than these, you will need to modify the build script in the `package.json` file.


# Development

Run `npm install` to get the dependencies, then `npm start` to run the timer.
Run `npm test` to run the unit tests once, or alternatively `npm run watch` to run them on changes.


# Contributing

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.

If you are uncertain, please reach out first (by opening an issue) before investing too much time. :)

# Reasons for forking

_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!_ 🙂

There are a few main reasons for this fork existing:

- To build in CI and attach to release using [Travis CI](https://travis-ci.org/)
- To stay up to date with dependencies using [Greenkeeper.io](https://greenkeeper.io/)
- To move to code style and tooling suited for project, not needing to take internal company best practices into account
- To have an independent organization where the mob-timer is the focus

# License

The Mob Timer is licensed under the [Apache 2.0 license](LICENSE).

0 comments on commit 7769e2b

Please sign in to comment.