revert script
This commit is contained in:
7
start.sh
7
start.sh
@@ -11,12 +11,12 @@ else
|
|||||||
|
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
ASSET="$ASSET-linux"
|
ASSET="$ASSET-linux"
|
||||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
ASSET="$ASSET-macos"
|
ASSET="$ASSET-macos"
|
||||||
fi
|
fi
|
||||||
if [[ "$(uname -m)" == "x86_64"* ]]; then
|
if [[ "$(uname -m)" == "x86_64"* ]]; then
|
||||||
ASSET="$ASSET-x64"
|
ASSET="$ASSET-x64"
|
||||||
elif [[ "$(uname -m)" == "arm64"* ]]; then
|
elif [[ "$(uname -m)" == "arm64"* ]]; then
|
||||||
ASSET="$ASSET-arm64"
|
ASSET="$ASSET-arm64"
|
||||||
fi
|
fi
|
||||||
pushd /tmp
|
pushd /tmp
|
||||||
@@ -32,7 +32,8 @@ source env.sh
|
|||||||
# initialized and configures tailwind if not configured
|
# initialized and configures tailwind if not configured
|
||||||
if [ ! -f "tailwind.config.js" ]
|
if [ ! -f "tailwind.config.js" ]
|
||||||
then
|
then
|
||||||
@@ -37,23 +12,13 @@ then
|
./tailwindcss init
|
||||||
|
sed -i '' "s| content: \\[\\],| content: \\['./templates/**/*.html'\\],|g" tailwind.config.js
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# compiles tailwind css & launches locally
|
# compiles tailwind css & launches locally
|
||||||
|
|||||||
Reference in New Issue
Block a user