mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
19 lines
269 B
Bash
19 lines
269 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
cd `dirname $0`
|
|
npm i
|
|
if ! [ -d acorn/.git ]; then
|
|
git clone https://github.com/c9/acorn
|
|
fi
|
|
pushd acorn
|
|
git fetch origin
|
|
git reset origin/master --hard
|
|
npm i
|
|
npm run build
|
|
popd
|
|
|
|
cp acorn/dist/* node_modules/acorn/dist
|
|
|
|
node eslint.js
|