forked from holidays/holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (31 loc) · 967 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
default: test
setup: update-defs
bundle install
generate:
bundle exec rake generate
test:
bundle exec rake test
console:
bundle exec rake console
test-region:
bundle exec rake test_region $(REGION)
build: clean
bundle exec gem build holidays.gemspec
push:
bundle exec gem push $(GEM)
update-defs: definitions/
git submodule update --init --remote --recursive
definitions: point-to-defs-master
point-to-defs-branch:
git submodule add -b $(BRANCH) [email protected]:$(USER)/definitions.git definitions/
point-to-defs-master:
git submodule add https://github.com/holidays/definitions definitions/
clean-defs:
git rm -f definitions
rm -rf .git/modules/definitions
git config -f .git/config --remove-section submodule.definitions 2> /dev/null
clean:
rm -rf holidays-*.gem
rm -rf reports
rm -rf coverage
.PHONY: setup test generate console build push update-defs test-region clean-defs point-to-defs-master point-to-defs-branch clean definitions