Cloned DMOJ
This commit is contained in:
parent
f623974b58
commit
49dc9ff10c
513 changed files with 132349 additions and 39 deletions
23
make_style.sh
Executable file
23
make_style.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
if ! [ -x "$(command -v sass)" ]; then
|
||||
echo 'Error: sass is not installed.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v postcss)" ]; then
|
||||
echo 'Error: postcss is not installed.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v autoprefixer)" ]; then
|
||||
echo 'Error: autoprefixer is not installed.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FILES=(sass_processed/style.css sass_processed/content-description.css sass_processed/table.css sass_processed/ranks.css)
|
||||
|
||||
cd `dirname $0`
|
||||
sass --update resources:sass_processed
|
||||
|
||||
echo
|
||||
postcss "${FILES[@]}" --verbose --use autoprefixer -d resources
|
Loading…
Add table
Add a link
Reference in a new issue