Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Print an error for default.do with wrong argumentsdevel | Tharre | 2018-11-18 | 1 | -0/+3 |
| | |||||
* | Make die() just a simple macro | Tharre | 2018-11-18 | 3 | -14/+5 |
| | |||||
* | Better concat that doesn't need a size argument | Tharre | 2018-11-18 | 4 | -11/+31 |
| | |||||
* | Split build_target() and improve method names | Tharre | 2018-11-18 | 1 | -100/+97 |
| | |||||
* | Simplify realpath() error handling | Tharre | 2018-11-18 | 1 | -19/+7 |
| | |||||
* | Abort if a source target doesn't exist | Tharre | 2017-08-27 | 1 | -3/+3 |
| | |||||
* | Add magic number checking to handle_c() again | Tharre | 2017-08-27 | 1 | -8/+25 |
| | |||||
* | Use the proper RNG called PCG instead of rand() | Tharre | 2017-08-26 | 8 | -13/+231 |
| | | | | Fixes #7. | ||||
* | Add explicit shebangHEADmaster | Tharre | 2017-08-25 | 1 | -0/+1 |
| | |||||
* | Use correct printf() flag for signed int | Tharre | 2017-08-25 | 1 | -1/+1 |
| | |||||
* | Fix two small style issues | Tharre | 2017-08-25 | 1 | -2/+2 |
| | |||||
* | Fix includes in header files | Tharre | 2017-05-08 | 4 | -1/+5 |
| | |||||
* | Add make_abs() utility function | Tharre | 2017-01-31 | 3 | -12/+14 |
| | |||||
* | Don't fail if directories disappear, just rebuild | Tharre | 2016-12-25 | 1 | -11/+27 |
| | | | | Fixes #9 | ||||
* | Add test case for missing directories | Tharre | 2016-12-25 | 1 | -0/+20 |
| | |||||
* | Replace the build.sh script with bootstrap.sh | Tharre | 2016-12-20 | 4 | -26/+35 |
| | |||||
* | Remove unused #define and fix copyright comment | Tharre | 2016-11-10 | 2 | -3/+1 |
| | |||||
* | Move utility functions to util.c | Tharre | 2016-10-31 | 3 | -39/+45 |
| | |||||
* | Split add_prereq() into general and specific | Tharre | 2016-10-31 | 3 | -11/+25 |
| | |||||
* | Fix reference to free'd memory in handle_c() | Tharre | 2016-10-28 | 1 | -2/+3 |
| | |||||
* | Implement logging using REDO_DEBUG env variable | Tharre | 2016-10-27 | 3 | -0/+17 |
| | |||||
* | Make sha1_to_hex() return a null-terminated string | Tharre | 2016-10-26 | 1 | -1/+3 |
| | |||||
* | Make redo shortcut again | Tharre | 2016-10-25 | 1 | -2/+7 |
| | |||||
* | Cleanup handle_c() a bit | Tharre | 2016-10-25 | 1 | -51/+50 |
| | |||||
* | Remove REDO_MAGIC handling code from handle_c() | Tharre | 2016-10-25 | 2 | -14/+0 |
| | |||||
* | Implement modification time (ctime) check | Tharre | 2016-08-03 | 1 | -34/+74 |
| | | | | | | Hashing over the contents of dependencies over and over again is slow. To avoid this, we first check the modification time (ctime), and only if that check fails we generate a hash. | ||||
* | Improve CC.do | Tharre | 2016-08-03 | 1 | -2/+2 |
| | |||||
* | Fix overflow error when there are too many fields | Tharre | 2016-08-03 | 2 | -6/+7 |
| | |||||
* | Always show debug() statements to the compiler | Tharre | 2016-08-03 | 1 | -6/+8 |
| | |||||
* | Implement new dependency storage system | Tharre | 2016-07-26 | 7 | -110/+349 |
| | |||||
* | Add various tests | Tharre | 2016-06-25 | 2 | -2/+38 |
| | |||||
* | Cleanup dep_info struct | Tharre | 2016-06-25 | 1 | -23/+20 |
| | |||||
* | Fix invalid memory access bug in parse_shebang() | Tharre | 2016-05-22 | 1 | -2/+2 |
| | |||||
* | Handle absolute $3 correctly | Tharre | 2016-05-02 | 1 | -1/+5 |
| | |||||
* | Make $3 an absolute path | Tharre | 2015-09-16 | 2 | -1/+13 |
| | |||||
* | Add a few tests | Tharre | 2015-09-13 | 4 | -0/+105 |
| | |||||
* | Replace Makefile with all.do | Tharre | 2015-07-13 | 2 | -60/+29 |
| | |||||
* | Replace custom test-suite with sharness | Tharre | 2015-07-13 | 41 | -195/+924 |
| | | | | | | | This should make the hole test-suite a bit more standard (by outputting TAP), as well as making it easier to test redo in a controlled environment. In contrast to bats, sharness requires no external dependencies. | ||||
* | Ensure all environment variables are set | Tharre | 2015-06-15 | 1 | -3/+6 |
| | |||||
* | Actually write the source flag into the dep store | Tharre | 2015-06-13 | 1 | -0/+2 |
| | |||||
* | Don't create files with executeable permissions | Tharre | 2015-06-13 | 1 | -1/+1 |
| | |||||
* | Make `general` path from get_doscripts() absolute | Tharre | 2015-06-13 | 1 | -9/+13 |
| | |||||
* | Designated initializers set values to 0 already | Tharre | 2015-06-13 | 1 | -6/+0 |
| | |||||
* | Only hash files once | Tharre | 2015-06-13 | 1 | -24/+31 |
| | |||||
* | Make sha1_to_hex static | Tharre | 2015-06-13 | 1 | -1/+1 |
| | |||||
* | Use dep_info earlier to avoid duplication | Tharre | 2015-06-13 | 1 | -80/+90 |
| | | | | | | This is a prerequisite for avoiding hashing one and the same file multiple times. This also keeps the necessary parsing code for the dependency store out of build_target() into handle_c() where it belongs. | ||||
* | Fix waitpid() error message and 2 if statements | Tharre | 2015-06-13 | 1 | -7/+5 |
| | |||||
* | Don't export build_target() | Tharre | 2015-06-13 | 2 | -3/+1 |
| | | | | | build_target() should not be called from outside, update_target() should be used instead. | ||||
* | Pass 0755 directly instead of using POSIX macros | Tharre | 2015-06-10 | 1 | -2/+1 |
| | | | | | I'm not perfectly sure if this actually violates the POSIX standard or not, but in practice all systems seem to accept it. | ||||
* | Fix error message for unsupported newlines | Tharre | 2015-06-08 | 1 | -1/+1 |
| |