Pőcze Bence
7945627708
Some checks failed
rvr-nextgen/pipeline/head There was a failure building this commit
12 lines
334 B
Bash
Executable File
12 lines
334 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ROOT_DIR=$(dirname $(readlink -f "$0"))/..
|
|
|
|
. ${ROOT_DIR}/.env
|
|
|
|
find ${ROOT_DIR}/public/static/js -type f -iname '*.js' -exec uglifyjs {} -c -m -o {} \;
|
|
|
|
find ${ROOT_DIR}/public/static/css -type f -iname '*.css' -exec cleancss {} -o {} \;
|
|
|
|
find ${ROOT_DIR}/public/static/img -type f -iname '*.svg' -exec svgo {} -o {} \;
|