Skip to content

Commit f05e06f

Browse files
committed
Shorter make targets
1 parent a6766af commit f05e06f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Makefile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
OPTS := ""
22

3-
all: test test-md test-no-links test-only-dev test-only-prod test-json
3+
all: test md links only-dev only-prod json json-pretty
44

55
test:
66
php ./composer-lock-diff --from test-data/composer.lock.from --to test-data/composer.lock.to $(OPTS)
77

8-
test-md:
8+
md:
99
$(MAKE) test OPTS=--md
1010

11-
test-no-links:
11+
no-links:
1212
$(MAKE) test OPTS=--no-links
1313

14-
test-only-dev:
14+
only-dev:
1515
$(MAKE) test OPTS=--only-dev
1616

17-
test-only-prod:
17+
only-prod:
1818
$(MAKE) test OPTS=--only-prod
1919

20-
test-json:
20+
json:
2121
$(MAKE) test OPTS=--json
22+
23+
json-pretty:
24+
$(MAKE) test OPTS="--json --pretty"

0 commit comments

Comments
 (0)