Skip to content

rife2/bld-archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bld extension for working with archives

License Java bld Release GitHub CI

A bld extension for generating archives.

It's in an incomplete state and currently only generates ZIP archives that preserve the original Posix file permissions. Support for additional features will be added soon.

The complete documentation can be found in its javadocs.

This is a short example of how to create a ZIP archive of a directory:

@BuildCommand
public void zip()
throws Exception {
    new ZipOperation()
        .sourceDirectories(new File("dir/to/zip"))
        .destinationDirectory(new File("destination/dir"))
        .destinationFileName("archive.zip")
        .execute();
}

About

bld extension for working with archives

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages