|Version 3 (modified by szabgab, 7 years ago) (diff)|
Anyway here are some thoughts of what a project should look like.
First we need to think in terms of a Perl project, but one that can include actually lots of other languages and technologies. Later we should have an idea for projects where the main language is not necessarily Perl and the directory layout is different.
We need to assume that the current working directory of the editor can be anywhere.
For Perl project management we will assume a directory layout similar to what we have in most CPAN distributions. That is
lib/ holding the modules bin/ holding the executable scripts t/ holding the test files
There should be a Makefile.PL or a Build.PL
Select a project is basically select a directory.
It will try to guess the preferred installation system Build.PL or Makefile.PL Then one should have all the standard steps ready in the menu Project Build.PL, Build, Build test, Build testcover, Build dist Build testdist
Create a new project will create the directory and the standard files
Select a project == select a directory assuming the files are already there
Select a project that was already selected once
Later we can integrate with various version control system so a new project might start by pointing to the repository (e.g. svn repo) and checking it out to some local place etc...
How to keep the path of projects on a stick? Their path can be different in different machines.