aboutsummaryrefslogtreecommitdiffstats
path: root/src/build.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement new dependency storage systemTharre2016-07-261-1/+1
|
* Don't export build_target()Tharre2015-06-131-1/+0
| | | | | build_target() should not be called from outside, update_target() should be used instead.
* Refactor out handle_c and fix > 8096 reading bugTharre2014-11-241-1/+1
|
* Merge all redo-*.c files into redo.c.Tharre2014-11-171-1/+0
| | | | | | | | 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-1/+1
| | | | Defined error messages have also been replaced with string literals.
* Change the way redo updates targets.Tharre2014-11-161-1/+1
| | | | | | | | 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.
* Some refactoring and small fixes.Tharre2014-11-111-0/+1
|
* Make targets depend on do-files.Tharre2014-08-201-1/+1
| | | | | | | | | | | This includes two different scenarios, first if the do-files which was used to build the target has changed the target must be rebuilt. Second, if a target was build by a lower priority do-file, like default.fuu.do, then it must be rebuilt if <target>.fuu.do appears. Note that at this point, Redofile as do-file is semi-supported, as it's future is uncertain.
* Add license notice to README and source filesTharre2014-08-161-0/+8
|
* Header file cleanup and smaller format fixesTharre2014-08-131-13/+2
|
* Implement (incomplete) dependency checking.Tharre2014-08-131-0/+3
| | | | | | | | | | 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 several methods for storing dependenciesTharre2014-07-301-0/+6
|
* Print redo <target> later to not print source files and small cleanupTharre2014-07-291-1/+0
|
* Add filepath.c, refactor out parse_shebang() and rewrite most of the error ↵Tharre2014-07-291-4/+1
| | | | checking code to use predefined error macros
* Refactor file_exists() to fexists()Tharre2014-04-251-1/+1
|
* Initial codebaseTharre2014-04-081-0/+16