Skip to content

Commit 2075c64

Browse files
committed
[API] Generator: run rubocop when updating api source code
1 parent a36076f commit 2075c64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
#!/bin/sh
2+
echo "Copying generated files into lib..."
23
cp ../tmp/out/api/* ../lib/elasticsearch/api/actions/ -R
4+
echo "Running Rubocop..."
5+
rubocop -x ../lib/elasticsearch/api/actions

0 commit comments

Comments
 (0)