Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1427914
pre-commit
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
372 B
Referenced Files
None
Subscribers
None
pre-commit
View Options
#!/bin/bash
# Code from https://gist.github.com/holysugar/1318698 , simpler than
# http://stackoverflow.com/a/6262715/451712
# Work out location of Thanks/scripts/ directory
dir
=
$(
dirname
$(
php
-r
"echo realpath('
$0
'), \"\\n\";"
))
# Move to the project root
cd
$(
dirname
$dir
)
find
./
-type
f
-iname
'*.php'
-print0
|
xargs
-0
-P
12
-L
1
php
-l
# Run npm test
npm
test
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, May 16, 15:20 (15 h, 2 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b9/0a/997abfd61b13b3625f3ff82026c7
Default Alt Text
pre-commit (372 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment