aboutsummaryrefslogtreecommitdiff
path: root/build2/filesystem.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08Support for --dry-run|-n mode, perform update partBoris Kolpackov1-9/+20
2019-04-03Change depdb API and handle system_error thrown by butl::file_mtime()Karen Arutyunov1-0/+14
Previously, debdb operations threw system_error and io_error to signal errors, except for opening which issued diagnostics and failed. Now all operations print the diagnostics and fail on system and IO errors.
2019-03-07Add support for alternative build file/directory naming schemeBoris Kolpackov1-13/+10
Now the build/*.build, buildfile, and .buildignore filesystem entries in a project can alternatively (but consistently) be called build2/*.build2, build2file, and .build2ignore. See a note at the beginning of the Project Structure section in the manual for details (motivation, restrictions, etc).
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-11-14Fallback to loading outer buildfile if there isn't one in src_baseBoris Kolpackov1-4/+5
This covers the case where the target is defined in the outer buildfile which is common with non-intrusive project conversions where everything is built from a single root buildfile.
2018-09-05Create .buildignore file in testscript root working directoryKaren Arutyunov1-0/+59
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-04-28Use rmsymlink() to portably remove symlinksBoris Kolpackov1-0/+27
2017-10-04Add ignore_error parameter for functions that check file system entry existenceKaren Arutyunov1-6/+6
2017-07-22Implement detection of ignorable changes (whitespaces, comments)Boris Kolpackov1-0/+16
2017-05-01Add hxx extension for headersKaren Arutyunov1-2/+2
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov1-7/+7
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov1-12/+6
2016-11-04Make rmdir_r() to call entry_exists(path) rather than exists(dir_path)Karen Arutyunov1-1/+15
2016-11-04Add empty(dir_path) to filesystemBoris Kolpackov1-0/+14
2016-09-13Fix crashing on unhandled system_error thrown by file_exists()Karen Arutyunov1-1/+29
2016-07-08Move filesystem-related functions from context to new filesystem filesBoris Kolpackov1-0/+99