improved install process
|
1 |
#!/bin/sh |
add cpanm home
|
2 |
CUR_DIR_ABS=$(cd $(dirname $0); pwd) |
3 |
export PERL_CPANM_HOME=$CUR_DIR_ABS/setup |
|
improved install process
|
4 |
perl cpanm -n -l extlib Module::CoreList |
cleanup cpanfile
|
5 |
perl -Iextlib/lib/perl5 cpanm -f -L extlib ExtUtils::MakeMaker |
6 |
perl -Iextlib/lib/perl5 cpanm -L extlib --installdeps . |
|
add gitprep-shell wrappter s...
|
7 | |
8 |
# Create gitprep-shell script |
|
9 |
CURRENT_PERL=`which perl` |
|
10 |
echo '#!/bin/sh' > script/gitprep-shell |
|
11 |
echo -n "$CURRENT_PERL $CUR_DIR_ABS/script/gitprep-shell-raw" >> script/gitprep-shell |
|
12 |
echo ' $*' >> script/gitprep-shell |
|
13 |
chmod 755 script/gitprep-shell |