-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
Makefile
29 lines (23 loc) · 1.22 KB
/
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
# Makefile
SCOOP_SCHEMA_JSON=https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json
BUCKETS_JSON=https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/buckets.json
LICENSES_JSON=https://raw.githubusercontent.com/spdx/license-list-data/master/json/licenses.json
EXCEPTIONS_JSON=https://raw.githubusercontent.com/spdx/license-list-data/master/json/exceptions.json
all: help
add:
# git remote add -f spdx/license-list-data https://github.com/spdx/license-list-data
# git subtree add --prefix vendor/spdx/license-list-data spdx/license-list-data master --squash
pull:
# git fetch spdx/license-list-data master
# git subtree pull --prefix vendor/spdx/license-list-data spdx/license-list-data master --squash
update:
-mkdir -p vendor/ScoopInstaller/Scoop
wget -O vendor/ScoopInstaller/Scoop/schema.json $(SCOOP_SCHEMA_JSON)
wget -O vendor/ScoopInstaller/Scoop/buckets.json $(BUCKETS_JSON)
-mkdir -p vendor/spdx/license-list-data/json
wget -O vendor/spdx/license-list-data/json/licenses.json $(LICENSES_JSON)
wget -O vendor/spdx/license-list-data/json/exceptions.json $(EXCEPTIONS_JSON)
help:
@echo 'add: Add vendor subtrees'
@echo 'pull: Pull vendor subtree changes'
@echo 'update: Download vendor updates'