-
Notifications
You must be signed in to change notification settings - Fork 9
/
test.sh
128 lines (100 loc) · 3.19 KB
/
test.sh
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/bin/bash
echo "!!!SETTING UP LARATION 1.0 WITH LARAVEL 5.4!!!"
composer create-project --prefer-dist -q laravel/laravel test-project-5-4 "5.4.*"
cd test-project-5-4 &&
composer require marabesi/laration:1.0 -vv &&
cp ../app.php config/app.php &&
php artisan laration:list app &&
cd .. &&
rm -rf test-project-5-4
if [ -d "test-project-5-4" ]; then
echo "ERROR ::: test-project-5-4 folder exists."
exit 1
fi
echo "!!!SUCCESS!!!"
echo "!!!LARAVEL 5.4!!!"
echo "!!!SUCCESS!!!"
echo "!!!SETTING UP LARATION 1.1 WITH LARAVEL 5.5!!!"
composer create-project --prefer-dist -q laravel/laravel test-project-5-5 "5.5.*"
cd test-project-5-5 &&
composer require marabesi/laration:1.1 -vv &&
php artisan laration:list app &&
cd .. &&
rm -rf test-project-5-5
if [ -d "test-project-5-5" ]; then
echo "ERROR ::: test-project-5-5 folder exists."
exit 1
fi
echo "!!!SUCCESS!!!"
echo "!!!LARAVEL 5.5!!!"
echo "!!!SUCCESS!!!"
echo "!!!SETTING UP LARATION 1.2 WITH LARAVEL 5.6!!!"
composer create-project --prefer-dist -q laravel/laravel test-project-5-6 "5.6.*"
cd test-project-5-6 &&
composer require marabesi/laration:1.2 -vv &&
php artisan laration:list app &&
cd .. &&
rm -rf test-project-5-6
if [ -d "test-project-5-6" ]; then
echo "ERROR ::: test-project-5-6 folder exists."
exit 1
fi
echo "!!!SUCCESS!!!"
echo "!!!LARAVEL 5.6!!!"
echo "!!!SUCCESS!!!"
echo "!!!SETTING UP LARATION 1.2 WITH LARAVEL 5.7!!!"
composer create-project --prefer-dist -q laravel/laravel test-project-5-7 "5.7.*"
cd test-project-5-7 &&
composer require marabesi/laration:1.2 -vv &&
php artisan laration:list app &&
cd .. &&
rm -rf test-project-5-7
if [ -d "test-project-5-7" ]; then
echo "ERROR ::: test-project-5-7 folder exists."
exit 1
fi
echo "!!!SUCCESS!!!"
echo "!!!LARAVEL 5.7!!!"
echo "!!!SUCCESS!!!"
echo "!!!SETTING UP LARATION 1.4 WITH LARAVEL 6.0!!!"
composer create-project --prefer-dist -q laravel/laravel test-project-6-0 "6.0.*"
cd test-project-6-0 &&
composer require marabesi/laration:1.4 -vv &&
php artisan laration:list app &&
cd .. &&
rm -rf test-project-6-0
if [ -d "test-project-6-0" ]; then
echo "ERROR ::: test-project-6-0 folder exists."
exit 1
fi
echo "!!!SUCCESS!!!"
echo "!!!LARAVEL 6.0!!!"
echo "!!!SUCCESS!!!"
echo "!!!SETTING UP LARATION 1.5 WITH LARAVEL 7.0!!!"
composer create-project --prefer-dist -q laravel/laravel test-project-7-0 "7.0.*"
cd test-project-7-0 &&
composer require marabesi/laration:1.5 -vv &&
php artisan laration:list app &&
cd .. &&
rm -rf test-project-7-0
if [ -d "test-project-7-0" ]; then
echo "ERROR ::: test-project-7-0 folder exists."
exit 1
fi
echo "!!!SUCCESS!!!"
echo "!!!LARAVEL 7.0!!!"
echo "!!!SUCCESS!!!"
echo "!!!SETTING UP LARATION 1.5 WITH LARAVEL 8.0!!!"
composer create-project --prefer-dist -q laravel/laravel test-project-8-0 "8.0.*"
cd test-project-8-0 &&
composer require marabesi/laration:1.5 -vv &&
php artisan laration:list app &&
cd .. &&
rm -rf test-project-8-0
if [ -d "test-project-8-0" ]; then
echo "ERROR ::: test-project-8-0 folder exists."
exit 1
fi
echo "!!!SUCCESS!!!"
echo "!!!LARAVEL 8.0!!!"
echo "!!!SUCCESS!!!"