File tree Expand file tree Collapse file tree 2 files changed +47
-2
lines changed Expand file tree Collapse file tree 2 files changed +47
-2
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,20 @@ If you want to install translations for system messages (requires shell):
4141$ bin/install-translations.sh
4242```
4343
44- #### Third Party Libraries
44+ #### Install Third Party Libraries (Requires Shell)
4545
46- Install Codeigniter Matches CLI (requires shell) :
46+ Codeigniter Matches CLI:
4747
4848```
4949$ bin/install-codeigniter-matches-cli.sh
5050```
5151
52+ CodeIgniter HMVC Modules:
53+
54+ ```
55+ $ bin/install-codeigniter-hmvc-modules.sh
56+ ```
57+
5258### Run PHP built-in server (PHP 5.4 or later)
5359
5460```
@@ -74,6 +80,7 @@ You must update files manually if files in `application` folder or `index.php` c
7480### Third Party Libraries
7581
7682* [ Codeigniter Matches CLI] ( https://github.com/avenirer/codeigniter-matches-cli )
83+ * [ CodeIgniter HMVC Modules] ( https://github.com/jenssegers/codeigniter-hmvc-modules )
7784
7885## Related
7986
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # # Part of CodeIgniter Composer Installer
4+ # #
5+ # # @author Kenji Suzuki <https://github.com/kenjis>
6+ # # @license MIT License
7+ # # @copyright 2015 Kenji Suzuki
8+ # # @link https://github.com/kenjis/codeigniter-composer-installer
9+
10+ cd ` dirname $0 `
11+
12+ user=" jenssegers"
13+ repos=" codeigniter-hmvc-modules"
14+
15+ if [ $# -eq 0 ]; then
16+ echo " Install CodeIgniter HMVC Modules ($user /$repos )"
17+ echo " usage: $0 <branch>"
18+ echo " eg: $0 master"
19+ exit
20+ fi
21+
22+ version=" $1 "
23+ zip=" tmp-$$ .zip"
24+
25+ curl -L -o " $zip " " https://github.com/$user /$repos /archive/$version .zip"
26+ unzip " $zip "
27+
28+ OS=` uname`
29+ if [ " $OS " = " Darwin" ]; then
30+ cp -rf " $repos -$version /core/" ../application/core/
31+ cp -rf " $repos -$version /third_party/" ../application/third_party/
32+ else
33+ cp -rf " $repos -$version /core/" -T ../application/core/
34+ cp -rf " $repos -$version /third_party/" -T ../application/third_party/
35+ fi
36+
37+ rm " $zip "
38+ rm -rf " $repos -$version "
You can’t perform that action at this time.
0 commit comments