[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 26113a1 041/426: Add pre-commit.sh that runs tests
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 26113a1 041/426: Add pre-commit.sh that runs tests and updates readme. |
Date: |
Tue, 04 Aug 2015 19:36:34 +0000 |
branch: externals/dash
commit 26113a113e58263cb1516ec7b4ba529dad5d1545
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Add pre-commit.sh that runs tests and updates readme.
---
pre-commit.sh | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/pre-commit.sh b/pre-commit.sh
new file mode 100755
index 0000000..97fbd45
--- /dev/null
+++ b/pre-commit.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+git stash -q --keep-index
+./run-tests.sh
+RESULT=$?
+[ $RESULT == 0 ] && ./create-docs.sh && git add ./README.md
+git stash pop -q
+[ $RESULT -ne 0 ] && exit 1
+exit 0
- [elpa] externals/dash de5ff6a 037/426: Simplify quotes in readme., (continued)
- [elpa] externals/dash de5ff6a 037/426: Simplify quotes in readme., Phillip Lord, 2015/08/04
- [elpa] externals/dash 722fea6 033/426: Include docs in README, Phillip Lord, 2015/08/04
- [elpa] externals/dash ec27b47 025/426: Turn tests into examples that can both be tested and turned into docs, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4cc4147 035/426: Fix typo, Phillip Lord, 2015/08/04
- [elpa] externals/dash eea3c53 045/426: Move function list above anaphoric function description., Phillip Lord, 2015/08/04
- [elpa] externals/dash e7d5c01 043/426: Add note about README being autogenerated to Development notes., Phillip Lord, 2015/08/04
- [elpa] externals/dash 6c39876 003/426: Set up test framework with one basic test, Phillip Lord, 2015/08/04
- [elpa] externals/dash 2a9e600 046/426: Make functions paragraph into a list of links, Phillip Lord, 2015/08/04
- [elpa] externals/dash 5f6ea16 036/426: Fix typo, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1b0d54f 044/426: Simplify readme generation., Phillip Lord, 2015/08/04
- [elpa] externals/dash 26113a1 041/426: Add pre-commit.sh that runs tests and updates readme.,
Phillip Lord <=
- [elpa] externals/dash 78fc2a3 038/426: Quote and downcase params with digits in them too., Phillip Lord, 2015/08/04
- [elpa] externals/dash 32053cd 042/426: Update readme with development notes., Phillip Lord, 2015/08/04
- [elpa] externals/dash 0912aa2 048/426: Rename !uniq to !distinct, Phillip Lord, 2015/08/04
- [elpa] externals/dash 24262a1 054/426: Add file-local font-lock for defexamples and =>, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9312469 053/426: !keep, Phillip Lord, 2015/08/04
- [elpa] externals/dash 657ee8b 040/426: Slight improvements to docs., Phillip Lord, 2015/08/04
- [elpa] externals/dash 286d1d8 050/426: Show quotes around strings in examples., Phillip Lord, 2015/08/04
- [elpa] externals/dash db8a745 056/426: Add !each, Phillip Lord, 2015/08/04
- [elpa] externals/dash f59b480 055/426: Add !some and !every?, Phillip Lord, 2015/08/04
- [elpa] externals/dash b337ef9 052/426: Sync examples-to-docs.el with the one in s.el, Phillip Lord, 2015/08/04