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 [2021/10/15 11:28]
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.
  
-Flutter version ''​2.5.2'​' is required.+The iOS build command requires macOS but won't fail if your system ​is not macOS.
  
-The build script requires Node.js. Simply check versions:+=====Requirements=====
  
-  node -v +Java Runtime environment > 8.0
-  npm -v+
  
-Download and install Node.js: https://​nodejs.org/​en/​ \\ +=====Commands=====
  
-Run ''​%%npm install%%''​ to install all depending npm packages.+====Complete (start.complete)====
  
-**(Windows only)** Add the full path of flutterclient/​node_modules/​.binto %PATH% variables.+  cd creator 
 +  ​./build.sh 
 +   
 +or
  
-=====Commands=====+  cd creator 
 +  build.cmd 
 +   
 +====iOS (start.ios)====
  
-The results can be found in **deploy** directory.+  cd creator 
 +  ​./build.sh start.ios
  
-====Web====+====Android (start.android)====
  
-  ​flutter doctor -v +  ​cd creator 
-  ​flutter config --enable-web+  ​./build.sh start.android
  
-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 script, simply call
- +
-======Manual====== +
- +
-=====Web===== +
- +
-  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