From b63a2d5a69837da3ea59cbc451b4e152582ef2b5 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 18 Apr 2016 19:11:52 -0700 Subject: Add commit script to generate commit history This will make it easier for users to merge changes into their trees. --- rules.ninja | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rules.ninja') 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 -- cgit v1.2.3