aboutsummaryrefslogtreecommitdiffstats
path: root/src/redo.c
Commit message (Collapse)AuthorAgeFilesLines
* Ensure all environment variables are setTharre2015-06-151-3/+6
|
* Use full path instead of one concatenated filenameTharre2015-05-241-4/+0
| | | | | Creation of the redo store (.redo/) is now silent, that should probably be reimplemented in a better way at a later time.
* Fix some issues with pathsTharre2015-05-051-1/+1
|
* Randomize argument processing orderTharre2015-01-091-3/+10
|
* Make redo-* commands fail if called from outsideTharre2015-01-051-7/+14
|
* Work if called with /usr/bin/redo instead of redoTharre2014-11-291-5/+6
|
* Rename diem to fatal to further confuse matters.Tharre2014-11-241-3/+3
| | | | | | It's actually pretty easy now, fatal() is used as a short cut for appending the strerror'd errno, while die() is just the generic version of printing errors that behaves just like fprintf(stderr, msg) + exit().
* Merge all redo-*.c files into redo.c.Tharre2014-11-171-6/+28
| | | | | | | | The resulting redo binary behaves differently if called with each respective redo-* name, and is symlinked to the different command names. This should reduce the memory footprint of a redo build, as the OS only needs to keep one copy of the redo code in memory.
* Refactor error handling system by using die()Tharre2014-11-161-3/+3
| | | | Defined error messages have also been replaced with string literals.
* Change the way redo updates targets.Tharre2014-11-161-2/+2
| | | | | | | | It's done a lot more efficiently now, as we are no longer checking if a target is out-of-date before we rebuild it, but instead rebuild subtargets directly when they are checked. We also now correctly depend on .do files.
* Fix indentationTharre2014-11-111-29/+29
|
* Some refactoring and small fixes.Tharre2014-11-111-6/+7
|
* Remove random math.h dependencyTharre2014-09-021-3/+2
|
* Fix refactoring uglyness.Tharre2014-09-021-1/+1
| | | | I mean, a constant string substition? Really?
* Add license notice to README and source filesTharre2014-08-161-0/+8
|
* Make redo actually create the directories it needsTharre2014-08-141-10/+7
|
* Add documentation and fix the one that's already thereTharre2014-08-131-0/+1
|
* Header file cleanup and smaller format fixesTharre2014-08-131-1/+1
|
* Implement (incomplete) dependency checking.Tharre2014-08-131-1/+2
| | | | | | | | | | Targets still do not depend on .do-files, and a lot of the edge cases are still not handled correctly. Furthermore some error-checking code is still missing, which could possibly crash the program (partially marked with comments), as well as some free() calls. An utitlity python script (print_dep.py) was also added to aid in debugging matters.
* Add the magic number to the dependency record.Tharre2014-08-121-0/+17
| | | | | The magic number will be used later to determine if a target has already been rebuild.
* Add _XOPEN_SOURCE to include the right headersTharre2014-07-311-2/+1
|
* Add several methods for storing dependenciesTharre2014-07-301-2/+3
|
* Create .redo and set REDO_ROOT to cwdTharre2014-07-291-0/+22
|
* Convert all tabs to whitespacesTharre2014-04-141-8/+8
|
* Initial codebaseTharre2014-04-081-0/+15