This website requires JavaScript.
Explore
Help
Sign In
status-im
/
sourcecred
mirror of
https://github.com/status-im/sourcecred.git
Watch
2
Star
0
Fork
You've already forked sourcecred
0
Code
Issues
Projects
Releases
Wiki
Activity
9deeb93142
sourcecred
/
scripts
/
check-stopships.sh
3 lines
56 B
Bash
Raw
Normal View
History
Unescape
Escape
Check for STOPSHIPs in CI (#301) Summary: Placing `STOPSHIP` or `stopship` (or any case variant) in any file tracked by Git will now cause a `yarn travis` failure. If you need to use this string, you can concatenate it as `"stop" + "ship"` or equivalent. Test Plan: In `travis.js`, change `"check-stop" + "ships"` to `"check-stopships"`, and note that this causes the build to fail with a nice message. Note that this also causes `check-stopships.sh` to fail even when invoked from an unrelated directory, like `src`. wchargin-branch: check-stopships
2018-05-26 02:27:31 +00:00
#!/bin/sh
Permit STOPSHIPs in Markdown files (#573) Summary: This way, we can document what STOPSHIPs are without having to tip-toe around the phrase. Test Plan: Add `STOPSHIP` to `README.md`, and note that `yarn test` fails before this change but passes after it. wchargin-branch: stopship-markdown-okay
2018-07-31 17:58:29 +00:00
! git grep -n -i
"STOP"
"SHIP"
-- :/
':/!*.md'