Connector

 view release on metacpan or  search on metacpan

build.mkd  view on Meta::CPAN

# Managing build with Minilla

    minil test      - run test cases
    minil dist      - make your dist tarball
    minil install   - install your dist
    minil release   - release your dist to CPAN

# To build a release:

Note: Replace '1.10' in the examples below with the current version.

* Switch to develop branch and update it with latest commits

* Start release branch

Set the connver to the new version number:

```
connver=1.10
git flow release start $connver develop
```

* Merge in any remote work (optional)

```
git remote update
git merge <remote-branch>
```

* Run unit tests

```
minil test
```

* Bump version number in lib/Connector.pm

```
perl -i -pe "s{our \\\$VERSION = .+}{our \\\$VERSION = '$connver';};" \
  lib/Connector.pm
minil dist
git add lib/Connector.pm META.json
git commit -m "bump version to $connver"
```

* Make any last-minute fixes and re-test

```
minil test
```

* Finalize release (write the version number in the TAG\_MSG)

```
git flow release finish -m "$connver" "$connver"
git push origin develop master "$connver"
```

* Build tarball

```
minil dist
```

* Upload tarball to https://pause.perl.org

```
minil release
```

# If the build env is not already set up, run the following:

```
curl -L http://install.perlbrew.pl | bash
echo "source $HOME/perl5/perlbrew/etc/bashrc" >> $HOME/.bashrc
source $HOME/perl5/perlbrew/etc/bashrc
perlbrew available
# Note: Adjust perl version based on results from 'perlbrew available'
perlbrew install perl-5.19.5
perlbrew switch perl-5.19.5

perlbrew install-cpanm
cpanm Module::Install
cpanm --installdeps --notest .
```

## To set up a new perl version

```
perlbrew install perl-5.32.0
perlbrew use perl-5.32.0
cpanm Module::Install
cpanm --installdeps --notest .
```



( run in 0.390 second using v1.01-cache-2.11-cpan-a838e43af63 )