Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
flutterui:build_release [2020/08/13 15:41]
admin
flutterui:build_release [2023/02/22 07:00]
admin
Line 5: Line 5:
 ======Build script====== ======Build script======
  
-=====Requirements=====+The build script is available in the **creator** directory. The script is [[https://​ant.apache.org/​|Apache ANT]] based and it's a simple XML file. It defines several build commands. The default command (start.complete) creates output for iOS, Android and Web deployment.
  
-The build script ​requires ​Node.js and perl. Simply check versions:+The iOS build command ​requires ​macOS but won't fail if your system is not macOS.
  
-  node -v +=====Requirements=====
-  npm -v +
-   +
-  perl -v+
  
-Download and install Node.js: https://​nodejs.org/​en/​ \\  +Java Runtime environment > 8.0
-Download install Perl: https://​www.perl.org/​get.html+
  
-Run ''​%%npm install%%''​ to install all depending npm packages.+=====Commands=====
  
-**(Windows only)** Add the full path of flutterclient/​node_modules/​.bin/​ to %PATH% variables.+====Complete ​(start.complete)====
  
-=====Commands=====+  cd creator 
 +  ./​build.sh 
 +   
 +or
  
-The results can be found in **deploy** directory.+  cd creator 
 +  build.cmd 
 +   
 +====iOS (start.ios)====
  
-====Web====+  cd creator 
 +  ./build.sh start.ios
  
-Currently, beta channel is required for Flutter WEB:+====Android (start.android)====
  
-  ​flutter channel beta +  ​cd creator 
-  ​flutter doctor -v +  ​./build.sh start.android
-  flutter config --enable-web+
  
-Start build +====Web (start.web)====
  
-  ​npm run buildweb+  ​cd creator 
 +  ./build.sh start.web
  
-====Android====+The results will be available in 
  
-  ​npm run buildandroid+  ​creator/​build/​install
   ​   ​
-====iOS====+directory.
  
-  npm run buildios +=====Updates=====
-   +
-====Build number====+
  
-  npm run increasebuildnumber ​  +To get the latest build scriptsimply call
- +
-======Manual====== +
- +
-=====Web===== +
- +
-Currentlybeta channel is required for Flutter WEB: +
- +
-  flutter channel beta +
-  flutter doctor -v +
-  flutter config --enable-web +
-   +
-Run the web variant: +
- +
-  flutter run -d chrome ​  +
-   +
-Build the release:+
  
-  ​flutter build web+  ​cd creator 
 +  ./update.sh
   ​   ​
-The result can be found in **build/​web** ​directory.+The latest [[https://​raw.githubusercontent.com/​sibvisions/​flutterclient/​main/​creator/​build.xml|build.xml]] will be saved in the creator ​directory.
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information