]> git.tdb.fi Git - builder.git/blob - source/tarball.cpp
Save caches before starting the build
[builder.git] / source / tarball.cpp
1 #include "sourcepackage.h"
2 #include "tar.h"
3 #include "tarball.h"
4
5 using namespace std;
6
7 TarBall::TarBall(Builder &b, const SourcePackage &p, const string &n):
8         FileTarget(b, p, p.get_source_directory()/(n+".tar"))
9 { }
10
11 const SourcePackage *TarBall::get_package() const
12 {
13         return static_cast<const SourcePackage *>(package);
14 }