Skip to content

j6k4m8/frof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frof runs other frofs

frof is a crazy-simple, zero-config tool to schedule multiple interdependent jobs.

Note: I wrote frof as an undergraduate in 2015–2016. It was recently updated for Python 3 support, but you may discover that it has some fun surprising bugs anyway!

overview

Let's generate a simple README.md using frof. We create the title in one job, the contents in another job, and then combine them in a third job. The first two must run before the third, but are independent of each other.

simple.frof

make_heading -> combine_files
make_content -> combine_files -> cleanup

combine_files:  cat part_a part_b > new_readme.txt
make_heading:   echo "# frof" > part_a
make_content:   echo "frof runs other frofs" > part_b
cleanup:        rm part_a part_b

installation

git clone https://github.com/j6k4m8/frof.gif
cd frof
pip3 install -e .

Check out the Getting Started Tutorial to start getting your hands dirty.

generating documentation

The documentation generator for this repository uses frof. You can see a basic example in use by running frof make-docs.frof from this directory.