-
Notifications
You must be signed in to change notification settings - Fork 103
/
Makefile
51 lines (39 loc) · 1.21 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
all:
echo "make what?"
lint:
echo checking for lint:
./lib.d/lint.pl templates.d/* | sort -k 2
echo checking for expression typos:
./lib.d/lint-expressions.pl templates.d/*
test: lint
( cd lib.d ; ./test-expand-template.sh )
clean:
rm -rf configure*.log *~ */*~ */*/*~
distclean dist-clean: clean
./eotk shutdown
rm -rf projects.d onionbalance.d
rm -f eotk-housekeeping.sh eotk-init.sh
test-ob-tor:
@echo this should print: onion
curl -x socks5h://127.0.0.1:9050/ https://www.facebookcorewwwi.onion/si/proxy ; echo ""
test-gok:
env PATH=./opt.d:./lib.d:.:$$PATH ./lib.d/generate-onion-key.sh
##################################################################
docker-test:
docker build --tag eotk-image opt.d
docker run -it --cap-drop=all --name eotk-container eotk-image
docker-status:
docker images -a
docker ps -a
docker-clean:
docker system prune --volumes
docker image prune -a
make docker-status
##################################################################
std-perms:
find . -type d | xargs chmod 755
find . -type f | xargs chmod 644
find . -type f -name "*.sh" | xargs chmod 755
find . -type f -name "*.pl" | xargs chmod 755
find . -type f -name "*.py" | xargs chmod 755
chmod 755 eotk