-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (36 loc) · 1011 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
include config.mk
run:
@npm run start
update:
@ncu -u
deploy:
@ansible-playbook -i ~/ansible2/hosts ansible-deploy.yaml
install:
@npm install
tests:
@npm run test
standard-fix:
@./node_modules/standard/bin/cmd.js --fix
versions:
@printf 'NodeJS version '
@node --version
@npm list probot
smoke-test:
@http --form POST localhost:3000/static-comments/new \
comment[body]="static-comments is awesome" \
comment[name]="Alex" \
comment[email#md5]="<my@real.email>" \
config[path]="data/somefolder" \
config[repo]="shaftoe/testing-pr" \
config[redirect]="https://a.l3x.in/"
smoke-test-spam:
@http --form POST localhost:3000/static-comments/new \
comment[body]="viagra-test-123" \
comment[name]="viagra-test-123" \
config[path]="data/somefolder" \
config[repo]="shaftoe/testing-pr" \
akismet[authorKey]="name" \
akismet[contentKey]="body" \
akismet[key]="$(AKISMET_KEY)" \
akismet[blog]="https://a.l3x.in/"
.PHONY: run update deploy install tests standard-fix versions