Skip to content

ruancarllo/semaphore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semaphore is a cross-platform application designed to organize and filter business tasks, arranging them in a date and price relationship. Its user interface is modern, allowing a simplified view of a complex set of orders.


Semaphore icon

Building

To distribute the application for the Android and iOS operating systems, install the latest version of Flutter on your computer and follow the step-by-step guide, with steps based on Unix system commands:

  1. Open your terminal in the app folder:
cd app
  1. Generate the necessary files with their respective dependencies:
flutter create --platforms android,ios .
  1. Store program translations using Dart language resources:
flutter gen-l10n
  1. Remove unnecessary files for the task:
rm -rf .idea .metadata .gitignore .flutter-plugins .flutter-plugins-dependencies test app.iml README.md
  1. Download the third-party font used in the interface:
curl "https://fonts.google.com/download?family=Archivo+Narrow" -o assets/fonts/ArchivoNarrow.zip
unzip assets/fonts/ArchivoNarrow.zip -d assets/fonts/ArchivoNarrow
rm -rf assets/fonts/ArchivoNarrow.zip
  1. Set the application name to Semaphore:
dart run rename setAppName --targets android,ios --value "Semaphore"
  1. Generate icons for both supported operating systems:
dart run flutter_launcher_icons
  1. Build the distributable package and display it in the mobile folder:
flutter build apk
cp build/app/outputs/flutter-apk/app-release.apk mobile/semaphore.apk

You can also generate a bundle for production using the following commands instead of the last step:

flutter build appbundle --release
cp build/app/outputs/bundle/release/app-release.aab mobile/semaphore.aab

Resetting

If you want to reset this project to its original repository conditions, run this command in the app folder.

rm -rf .dart_tool .flutter-plugins .flutter-plugins-dependencies android ios build assets/fonts/ArchivoNarrow

Preview