Skip to content

glecaros/bf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Fairy

This project aims to allow replacing the custom made scripts that are present in some builds with a more declarative approach.

Examples

Copy

Given an initial structure like the following

srcdir/lib1.so
srcdir/folder_a/liba.so
srcdir/doc/my_doc.md

With the target structure

outdir/lib/lib1.so
outdir/lib/extra/liba.so
outdir/docs/README.md

We can accomplish this by declaring a our manifest:

<?xml version="1.0" encoding="UTF-8"?>
<tasks xmlns="https://github.com/glecaros/bf">
  <copy>
    <group source="srcdir" destination="outdir">
      <group destination="lib">
        <item>lib1.so</item>
        <group destination="extra">
            <item>folder_a/liba.so</item>
        </group>
      </group>
      <group source="doc" destination="docs">
        <item destination="README.md">my_doc.md</item>
      </group>
    </group>
  </copy>
</tasks>

Then, we just run the tool using our manifest as input

bf --input input.xml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages