Skip to content

Instantly share code, notes, and snippets.

View master-wayne7's full-sized avatar
🏠
Working from home

Ronit Rameja master-wayne7

🏠
Working from home
View GitHub Profile
@Taosif7
Taosif7 / flcp.sh
Last active October 20, 2024 12:07
A Bash Script to Copy flutter generated build outputs in a proper format
#!/bin/bash
# Check if pubspec.yaml file exists
if [ ! -f "pubspec.yaml" ]; then
echo "⚠️ Please run command in a Flutter project"
exit 1
fi
# Get the value of "name: value"
projectName=$(awk '/name:/ {print $2}' pubspec.yaml)