forked from dragonling/phalcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
77 lines (66 loc) · 1.62 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
list:
@echo "update"
@echo "upgrade"
@echo "rollback"
@echo "clear-all"
@echo "sendmail"
@echo "test"
@echo "git-pull"
@echo "git-push"
@echo "install-dev"
@echo "install"
test:
phpunit --bootstrap ./tests/Bootstrap.php ./tests
git-pull:
git pull
git-push:
git push -u
rollback:
git reset --hard HEAD~1
clear-all:
rm config/_*
rm cache/api/*
rm cache/global/*
rm cache/html/*
rm cache/model/*
rm cache/schema/*
rm cache/view/*
sendmail:
php workers/sendmail.php
upgrade:
git pull
composer update
git submodule update --init --recursive
grunt less:wscn
bower update --allow-root
cnpm update
update:
git pull
git submodule update --init --recursive
grunt less:wscn
install-dev:
composer install --dev
git submodule update --init --recursive
sudo chown -R www-data.www-data ./config
sudo chown -R www-data.www-data ./logs
sudo chown -R www-data.www-data ./cache
sudo chown -R www-data.www-data ./public/uploads
sudo chown -R www-data.www-data ./public/cache
sudo chown -R www-data.www-data ./public/tmp
sudo chown -R www-data.www-data ./public/thumbnails/thumb
cnpm install
grunt less:wscn
bower install --allow-root
install:
composer install --no-dev --optimize-autoloader
git submodule update --init --recursive
sudo chown -R www-data.www-data ./config
sudo chown -R www-data.www-data ./logs
sudo chown -R www-data.www-data ./cache
sudo chown -R www-data.www-data ./public/uploads
sudo chown -R www-data.www-data ./public/cache
sudo chown -R www-data.www-data ./public/tmp
sudo chown -R www-data.www-data ./public/thumbnails/thumb
cnpm install
grunt less:wscn
bower install --allow-root