We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1af75b commit fed97a0Copy full SHA for fed97a0
Plugin/buildtools/Hook/pre-push
@@ -0,0 +1,12 @@
1
+#!/bin/sh
2
+# Check that unit test have passed
3
+
4
+ps_script="Plugin\\buildtools\\runUnitTest.ps1"
5
6
+if [ -f "$ps_script" ]; then
7
+ exec powershell.exe -ExecutionPolicy RemoteSigned -File "$ps_script"
8
+ exit
9
+else
10
+ echo "No powershell script has been found at $ps_script we won't check comment and allow to push."
11
+ exit 0
12
+fi
0 commit comments