Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Store dependencies as plain text instead of binary | Tharre | 2015-05-25 | 2 | -75/+51 | |
| | | | | | | | | Binary files are hard to debug, and even while the code required to parsing them is simpler it's not worth the tradeoff. Note that handling of newlines in target names is not implemented yet, they require some sort of special escaping. | |||||
* | Use full path instead of one concatenated filename | Tharre | 2015-05-24 | 4 | -52/+23 | |
| | | | | | 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 paths | Tharre | 2015-05-05 | 2 | -11/+5 | |
| | ||||||
* | Make redo lines colored to enhance readability | Tharre | 2015-05-05 | 1 | -1/+1 | |
| | ||||||
* | Fix path quoting in the clean target | Tharre | 2015-05-05 | 1 | -1/+1 | |
| | ||||||
* | Install redo into /usr/local/bin by default | Tharre | 2015-04-08 | 2 | -5/+5 | |
| | ||||||
* | Add basic man pages for documentation | Tharre | 2015-04-04 | 4 | -0/+184 | |
| | ||||||
* | Always use the CWD of the dofile, not the target | Tharre | 2015-02-20 | 1 | -10/+5 | |
| | ||||||
* | Replace make_relative() with relpath() | Tharre | 2015-02-15 | 3 | -19/+25 | |
| | | | | | Also improve the documentation for this function, and add a few examples to clarify what it does (and what not). | |||||
* | Fix always testcase but skip it for now | Tharre | 2015-02-07 | 3 | -1/+6 | |
| | ||||||
* | Revert "Add sync to some test cases to make travis-ci work" | Tharre | 2015-02-07 | 3 | -3/+0 | |
| | | | | This reverts commit 4a25bf1120e60c8a5d1746671972cf08faaaf620. | |||||
* | Add sync to some test cases to make travis-ci work | Tharre | 2015-01-25 | 3 | -0/+3 | |
| | ||||||
* | Add testing framework `bats`, this fixes #6 | Tharre | 2015-01-25 | 11 | -1/+66 | |
| | ||||||
* | Rewrite add_dep() to be atomic through O_APPEND | Tharre | 2015-01-25 | 1 | -20/+24 | |
| | ||||||
* | FILENAME_MAX should be the largest path there is | Tharre | 2015-01-25 | 1 | -1/+1 | |
| | ||||||
* | Remove unecessary check for NULL from add_dep() | Tharre | 2015-01-15 | 1 | -5/+1 | |
| | ||||||
* | Fix the mode argument of open() | Tharre | 2015-01-09 | 1 | -1/+2 | |
| | ||||||
* | Randomize argument processing order | Tharre | 2015-01-09 | 1 | -3/+10 | |
| | ||||||
* | Make redo-* commands fail if called from outside | Tharre | 2015-01-05 | 1 | -7/+14 | |
| | ||||||
* | Add support for local config files (config.local) | Tharre | 2015-01-03 | 3 | -0/+16 | |
| | ||||||
* | Remember sources and don't rebuild missing ones | Tharre | 2015-01-03 | 1 | -3/+14 | |
| | ||||||
* | Represent dependencies in the dep_info struct | Tharre | 2015-01-03 | 1 | -63/+64 | |
| | ||||||
* | Fix scripts to honor paths with spaces | Tharre | 2014-12-22 | 2 | -9/+9 | |
| | ||||||
* | Exchange sha1 implementation | Tharre | 2014-12-12 | 2 | -299/+365 | |
| | ||||||
* | Improve error message handling for debugging | Tharre | 2014-12-05 | 3 | -8/+14 | |
| | ||||||
* | Fix typo in build.c that made fseek() fail | Tharre | 2014-11-29 | 1 | -1/+1 | |
| | ||||||
* | Work if called with /usr/bin/redo instead of redo | Tharre | 2014-11-29 | 1 | -5/+6 | |
| | ||||||
* | Implement perfect dependency rebuilding | Tharre | 2014-11-29 | 1 | -64/+62 | |
| | | | | | | | | | This means, if foo depends on blah, which in turn depends on blub and blub changes, blah get's rebuild but stays the same then foo won't be rebuild as it's dependencies (blah) have not changed. Note that because our currently included sha1 implementation does not work correctly, this doesn't either if the changes are small. | |||||
* | Rename diem to fatal to further confuse matters. | Tharre | 2014-11-24 | 5 | -36/+36 | |
| | | | | | | 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(). | |||||
* | Refactor out handle_c and fix > 8096 reading bug | Tharre | 2014-11-24 | 2 | -73/+87 | |
| | ||||||
* | Some cleanup | Tharre | 2014-11-24 | 1 | -48/+41 | |
| | ||||||
* | Fix bug in CC.do. | Tharre | 2014-11-24 | 1 | -1/+1 | |
| | ||||||
* | Set _XOPEN_SOURCE to 600 to make fix FreeBSD build | Tharre | 2014-11-23 | 1 | -1/+1 | |
| | ||||||
* | Make CC fail correctly (it does now, I promise) | Tharre | 2014-11-18 | 1 | -2/+2 | |
| | ||||||
* | Remove Redofile as an alias for default.do | Tharre | 2014-11-18 | 2 | -6/+0 | |
| | ||||||
* | Don't overwrite $CFLAGS and $LDFLAGS | Tharre | 2014-11-18 | 1 | -2/+2 | |
| | ||||||
* | Fix autoconf (and make travis-ci happy) | Tharre | 2014-11-17 | 1 | -1/+1 | |
| | ||||||
* | Merge all redo-*.c files into redo.c. | Tharre | 2014-11-17 | 11 | -104/+37 | |
| | | | | | | | | 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() | Tharre | 2014-11-16 | 7 | -112/+91 | |
| | | | | Defined error messages have also been replaced with string literals. | |||||
* | Change the way redo updates targets. | Tharre | 2014-11-16 | 6 | -58/+81 | |
| | | | | | | | | 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 indentation | Tharre | 2014-11-11 | 9 | -568/+568 | |
| | ||||||
* | Some refactoring and small fixes. | Tharre | 2014-11-11 | 7 | -28/+48 | |
| | ||||||
* | Rewrite CC.do to make it fail if $CC fails | Tharre | 2014-09-12 | 1 | -4/+2 | |
| | ||||||
* | Fix regression caused by 5e5e7e6 | Tharre | 2014-09-03 | 1 | -1/+1 | |
| | | | | | We need to use the source operator on the CC script as if we don't bad return codes won't get forwarded and the script won't get aborted. | |||||
* | Remove random math.h dependency | Tharre | 2014-09-02 | 2 | -4/+3 | |
| | ||||||
* | Fix refactoring uglyness. | Tharre | 2014-09-02 | 1 | -1/+1 | |
| | | | | I mean, a constant string substition? Really? | |||||
* | Replace openssl SHA1 functions with custom version | Tharre | 2014-08-24 | 11 | -18/+356 | |
| | ||||||
* | Update configure.ac (still unused though) | Tharre | 2014-08-23 | 1 | -3/+5 | |
| | ||||||
* | Remove unnecessary global const variables | Tharre | 2014-08-23 | 1 | -22/+16 | |
| | ||||||
* | Make targets depend on do-files. | Tharre | 2014-08-20 | 5 | -41/+68 | |
| | | | | | | | | | | | 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. |