Skip to content

Instantly share code, notes, and snippets.

@hexfusion
Last active January 1, 2016 16:29
Show Gist options
  • Save hexfusion/8170886 to your computer and use it in GitHub Desktop.
Save hexfusion/8170886 to your computer and use it in GitHub Desktop.
Installing git perl modules in camps
1.) Install module only using git into base directory dev-modules
2.) for each module symlink lib $ cp -as --remove-destination "$PWD/dev-modules/interchange6-schema/lib/"* local/lib/perl5/
3.) for each module symlink bin $ cp -as --remove-destination "$PWD/dev-modules/interchange6-schema/bin/"* local/bin/
4.) for each module install deps only $ cpanm --installdeps --force -L /home/sam/repos/local Interchange6::Schema
cpanfile.dev proposed format
requires 'Interchange6' => 'git@github.com:interchange/Interchange6.git', '0.010';
requires 'Interchange6::Schema' => 'git@github.com:interchange/interchange6-schema.git'
requires 'Dancer::Sessions::DBIC' => 'git@github.com:interchange/Dancer-Session-DBIC.git'
requires 'Dancer::Plugin::Interchange6' => 'git@github.com:interchange/Dancer-Plugin-Interchange6.git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment