diff options
| author | Michael Forney <mforney@mforney.org> | 2016-04-18 19:11:52 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-04-23 16:51:19 -0700 |
| commit | b63a2d5a69837da3ea59cbc451b4e152582ef2b5 (patch) | |
| tree | ca9aebce80bc950255000fe0955497393875f832 /rules.ninja | |
| parent | 32df789b099a8d6c34b423cd7b3ff892aaaddd4f (diff) | |
Add commit script to generate commit history
This will make it easier for users to merge changes into their trees.
Diffstat (limited to 'rules.ninja')
| -rw-r--r-- | rules.ninja | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.ninja b/rules.ninja index 17ccec4c..98cff501 100644 --- a/rules.ninja +++ b/rules.ninja @@ -43,6 +43,9 @@ rule gittree command = rc ./scripts/tree.rc $builddir/$repo.git $repo_tag $in restat = 1 +rule gitcommit + command = rc ./scripts/commit.rc $builddir/$repo.git $repo_branch $repo_tag + rule gitarchive command = git -C $builddir/$repo.git archive -o $$PWD/$out $repo_tag |
