Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ShipIt::ProjectType(3)User Contributed Perl DocumentatioShipIt::ProjectType(3)

NAME
       ShipIt::ProjectType - abstract base class for different types of
       projects

OVERVIEW
       Different types of projects (Perl, C, ...) have different conventions
       and quirks which	this abstract base class aims to hide.

SYNOPSIS
	$pt = $state->pt;  # get a ShipIt::ProjectType instance

	$ver = $pt->find_version;
	$pt->update_version("1.53");
	$pt->disttest;

METHODS
   find_version
       Returns current version of project.

   update_version($new_ver)
       Updates version number on disk with provided new	version.

   disttest
       Make a dist, then untars	that in	a temp directory, and does a full
       build & test on the extracted archive.  Returns true if everything
       succeeds, or dies on failure.

   makedist
       Runs "make dist"	or equivalent, to build	the resultant archive to give
       to users.  Dies on failure, or returns the path (relative or absolute)
       to the dist file.

perl v5.32.0			  2012-07-21		ShipIt::ProjectType(3)

NAME | OVERVIEW | SYNOPSIS | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ShipIt::ProjectType&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help