File tree 1 file changed +25
-1
lines changed
1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
## Overview
6
6
A simple tool written in bash to use my index for uploading files.
7
- Might be alternative to ` bash-upload ` , ` we-transfer ` , ` transfer.sh ` .
7
+ Might be alternative to ` bash-upload ` , ` we-transfer ` , ` transfer.sh ` .
8
+
9
+ ## Contributing
10
+ If you want to contribute, please make sure you have ` shfmt ` installed, and run
11
+ ` make lint ` before commiting. This ensures tabs and spaces does not get mixed,
12
+ as well as consistent styling.
13
+
14
+ ``` bash
15
+ # For example, shfmt will ensure:
16
+ if condition
17
+ then
18
+ do_stuff
19
+ else
20
+ do_stuff
21
+ fi
22
+
23
+ # is always written as:
24
+ if condition; then
25
+ do_stuff
26
+ else
27
+ do_stuff
28
+ fi
29
+
30
+ # The same applies to loops and switch statements (case;esac)
31
+ ```
8
32
9
33
## How to get started
10
34
### For Linux/macOS/BSD systems.
You can’t perform that action at this time.
0 commit comments