forked from HEP-Puppet/htcondor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
39 lines (29 loc) · 808 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
BUNDLE_DIR ?= .bundle
build:
pdk build
changelog:
@echo "Updating CHANGELOG.md"
@github_changelog_generator -u hep-puppet -p htcondor -t ${CHANGELOG_GITHUB_TOKEN}
update_release:
@python update_release.py
@echo "Check everything and if OK, execute"
@echo "git add -u"
@echo "git commit -m 'tagged version ${RELEASE}'"
@echo "git push upstream master"
@echo "git tag v${RELEASE}"
@echo "git push upstream v${RELEASE}"
release: changelog update_release build
verify: bundle_install
bundle exec rake test
bundle_install:
bundle install --path $(BUNDLE_DIR)
acceptance: bundle_install
exit 0
#bundle exec rake beaker:default
test: validate run-spec lint
validate:
bundle exec rake validate
run-spec:
bundle exec rake spec SPEC_OPTS='--format documentation'
lint:
bundle exec rake lint