[Release] Fixed the weex_core build path issue

As we shrink the path 'android/sdk' to 'android_sdk' when
generating release source package, the relative path dependency
in 'android/sdk/build.gradle' for weex_core has been broken. Fixed
this issue using sed.
Same thing happens to the path of 'pre-build', fixed the build.gradle
and XCode project file with sed, and added pre-build into the release
rules to make iOS build pass.
Also fixed the replacement issues with find command, and added iOS
replacement support as well.
Granted the execution rights to 'scripts/build_from_source.sh'.
3 files changed
tree: b9744fb22f72e7f19ad7dffed573bb9e5ab4fe32
  1. .github/
  2. android/
  3. bin/
  4. build/
  5. examples/
  6. ios/
  7. packages/
  8. pre-build/
  9. runtime/
  10. scripts/
  11. test/
  12. weex_core/
  13. .babelrc
  14. .eslintignore
  15. .eslintrc
  16. .gitignore
  17. .rat-excludes
  18. .travis.yml
  19. CHANGELOG.md
  20. CONTRIBUTING.md
  21. dangerfile-android.js
  22. Dangerfile-ios
  23. dangerfile-ios.js
  24. dangerfile-jsfm.js
  25. dangerfile.js
  26. DISCLAIMER
  27. Gemfile
  28. Gemfile.lock
  29. HOW-TO-BUILD.md
  30. index.html
  31. LICENSE
  32. NOTICE
  33. package.json
  34. POSSIBLE-NOTICES-FOR-BIN-DIST
  35. README.md
  36. RUN-RAT.md
  37. SCRIPTS.md
  38. start
  39. WeexSDK.podspec
README.md

Weex

A framework for building Mobile cross-platform UI.

CircleCI

platformstatus
AndroidDownload
iOSPod version Carthage compatible
Mobile Webnpm version

Support Android 4.1 (API 16), iOS 8.0+ and WebKit 534.30+.

For Windows

Please INSTALL Git for Windows and run all the following commands in git-bash.

Meet Weex

  • Install Weex Playground App to see examples we already written.
  • If you want to write a demo, install weex-toolkit in Node.js 8.0+ and
  • Run weex init to generate & start a simple project in an empty folder.
  • Follow the instructions in the project README.
  • Enjoy it.

Use Weex

Android

  • Prerequisites
  • Run playground, In Android Studio
    • Open android/playground
    • In app/java/com.alibaba.weex/IndexActivity, modify CURRENT_IP to your local IP
    • Click (Run button)
  • Add an example

Runtime

On Android Platform , Weex code is executed in weex_v8core which is based on Google V8 JavaScript engine.

iOS

  • run playground

    • Prerequisites
    • Run playground
      • cd ios/playground
      • pod install
      • Open WeexDemo.xcworkspace in Xcode
      • Click (Run button) or use default shortcut cmd + r in Xcode
      • If you want to run the demo on your device, don't need to modify CURRENT_IP manually. In DemoDefine.h(you can search this file by Xcode default shortcut cmd + shift + o), modify CURRENT_IP to your local IP
    • Add an example
  • integrate to your application

    • CocoaPods

      Add the following line to your Podfile:

      pod 'WeexSDK'
    

    run pod install

    • Carthage

      Add the following line to your Cartfile:

      github "apache/incubator-weex"
    

    Run carthage update, and you should now have the latest version of WeexSDK in your Carthage folder.

Mobile Web

see weex-vue-render.

Scripts

See SCRIPTS.md for more information.

IDE Plugin & Syntax Highlight & DevTool

Weex team have developed a DevTool to help you to improve the debugging efficiency.

See more stuff on this wiki page

Weex Community

Contributing

See Weex Contributing Guide for more information.