mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15515] rebase on 16414
PHPBB3-15515
This commit is contained in:
22
travis/check-js.sh
Executable file
22
travis/check-js.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This file is part of the phpBB Forum Software package.
|
||||
#
|
||||
# @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||
# @license GNU General Public License, version 2 (GPL-2.0)
|
||||
#
|
||||
# For full copyright and license information, please see
|
||||
# the docs/CREDITS.txt file.
|
||||
#
|
||||
set -e
|
||||
set +x
|
||||
|
||||
NOTESTS=$1
|
||||
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
npm install -g > /dev/null
|
||||
npm install > /dev/null
|
||||
set -x
|
||||
npm run xo
|
||||
fi
|
Reference in New Issue
Block a user