Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An implementation of the redo build system in portable C with zero dependencies

NotificationsYou must be signed in to change notification settings

leahneukirchen/redo-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redo-c is an implementation of the redo build system (designed byDaniel J. Bernstein) in portable C with zero external dependencies.

Documentation

Please refer to the documentation forredo in Python,or thetutorial by Jonathan de Boyne Pollardfor usage instructions.

Notes about the redo-c implementation of redo

  • Without arguments,redo behaves likeredo all.

  • .do files always are executed in their directory, arguments arerelative paths.

  • Standard output of.do files is only captured as build product ifredo -s is used, or the environment variableREDO_STDOUT is set to 1.Else, standard output is simply displayed.

  • Non-executable.do files are run with/bin/sh -e.redo -x can be utilized to use/bin/sh -e -x instead, fordebugging.do files or verbose builds.

  • Executable.do files are simply executed, and should have a shebang line.

  • When a target makes no output, no target file is created. The targetis considered always out of date.

  • default.do files are checked in all parent directories up to/.

  • Parallel builds can be started withredo -j N (orJOBS=N redo),this uses a job broker similar to but not compatible with GNU make.

  • To detect whether a file has changed, we first comparectime andin case it differs, a SHA2 hash of the contents.

  • Dependencies are tracked in.dep.BASENAME files all over the tree.This is an implementation detail.

  • Builds can be started from every directory and should yield same results.

  • redo -f will consider all targets outdated and force a rebuild.

  • redo -k will keep going if a target failed to build.

Copying

To the extent possible under law, Leah Neukirchenleah@vuxu.orghas waived all copyright and related or neighboring rights to this work.

http://creativecommons.org/publicdomain/zero/1.0/

About

An implementation of the redo build system in portable C with zero dependencies

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp