-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (16 loc) · 829 Bytes
/
Makefile
File metadata and controls
25 lines (16 loc) · 829 Bytes
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
STABLE_PACKAGES=$(wildcard stable/*)
TESTING_PACKAGES=$(wildcard testing/*)
testing: $(TESTING_PACKAGES)
stable: $(STABLE_PACKAGES)
$(STABLE_PACKAGES):
cd $@ && abuild -r
$(TESTING_PACKAGES):
cd $@ && abuild -r
all: $(STABLE_PACKAGES) $(TESTING_PACKAGES)
shell:
@docker run --rm -it -v $(shell pwd):/packages -v $(shell pwd)/repo:/home/alpine/packages --entrypoint=sh -u alpine massiveco/docker-alpine-sdk
docker:
@docker run --rm -it -v $(shell pwd):/packages -v $(shell pwd)/repo:/home/alpine/packages --entrypoint=sh -u alpine massiveco/docker-alpine-sdk -c 'cd /packages && make all'
sync:
rsync -avrz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress $(HOME)/packages/* alpine.ma.ssive.co:/var/www/alpine.ma.ssive.co/
.PHONY: all docker sync $(TESTING_PACKAGES) $(STABLE_PACKAGES)