feat : button , outlined button
fab button , fab outlined button , input , pagination widget's
This commit is contained in:
33
vecGeneratoe.sh
Normal file
33
vecGeneratoe.sh
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Directory to read files from
|
||||
sourcePath="assets/icons"
|
||||
targetPath="assets/vec"
|
||||
|
||||
|
||||
if [ ! -e "$targetPath" ]; then
|
||||
echo "📁 Directory does not exist. Creating: $targetPath"
|
||||
mkdir -p "$targetPath"
|
||||
fi
|
||||
|
||||
|
||||
# Loop and delete old vec file
|
||||
for file in "$targetPath"/*
|
||||
do
|
||||
if [ -f "$file" ]; then
|
||||
|
||||
echo "Delete old ===> $file"
|
||||
rm "$file"
|
||||
fi
|
||||
done
|
||||
# Loop through all files in the directory
|
||||
for file in "$sourcePath"/*
|
||||
do
|
||||
if [ -f "$file" ]; then
|
||||
echo "Generate Vec file ===> $file"
|
||||
fileName=$(basename -- "$file")
|
||||
echo "Generate Vec file ===> $fileName"
|
||||
dart run vector_graphics_compiler -i "$file" -o "$targetPath/$fileName.vec"
|
||||
git add .
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user