Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F626083
.hooks/arc-lint-on-commit.sh
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
cburroughs
Jul 15 2015, 6:51 PM
2015-07-15 18:51:54 (UTC+0)
Size
171 B
Referenced Files
None
Subscribers
None
.hooks/arc-lint-on-commit.sh
View Options
#!/bin/bash
BRANCH
=
`
git rev-parse --abbrev-ref HEAD
`
if
[[
"
$BRANCH
"
==
"master"
]]
;
then
echo
"running arc lint..."
arc lint --rev
=
HEAD
||
exit
1
fi
exit
0
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/qz/kn/ivntkl4wewldemiy
Default Alt Text
.hooks/arc-lint-on-commit.sh (171 B)
Attached To
Mode
P1824 .hooks/arc-lint-on-commit.sh
Attached
Detach File
Event Timeline
Log In to Comment