forked from StylishThemes/GitHub-Dark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (33 loc) · 923 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
all: build
test: lint
build: node_modules
node tools/clean.js
node tools/build.js
deps: node_modules
node_modules: yarn.lock
@yarn -s --pure-lockfile
@touch node_modules
lint: node_modules
yarn -s run eslint --color .
yarn -s run stylelint --color src
authors:
bash tools/authors.sh
clean: node_modules
node tools/clean.js
install: node_modules
node tools/install.js
update: node_modules
yarn -s run updates -cu
yarn -s run rimraf node_modules
yarn -s
@touch yarn.lock
patch: node_modules lint build
yarn -s run versions -pdC patch github-dark.user.css
git push --tags origin master
minor: node_modules lint build
yarn -s run versions -pdC minor github-dark.user.css
git push --tags origin master
major: node_modules lint build
yarn -s run versions -pdC major github-dark.user.css
git push --tags origin master
.PHONY: all test build deps lint authors clean install update patch minor major