Giter Site home page Giter Site logo

demo-app's Introduction

demo-app

demo app using axe

demo

使用 axe搭建的一个组件化APP实例代码。

包括以下内容 :

使用 axe-admin管理平台 , 地址为 : demo.axe-org.cn

axe平台化的APP,使用fastlane作为构建和管理工具。

说明

需要安装 git-lfsCocoaPods 以及fastlane.

demo使用CocoaPods私有仓库,所以使用fastlane进行操作前,需要执行命令:

pod repo add axe-demo "https://github.com/axe-org/demo-private-spec.git

git-lfs

对于git来说, 不适合直接管理大型文件,大型文件会极大的膨胀仓库的大小。对于组建化中,我们会构建一个二进制的包,以提高编译速度,而这个包必须使用一些更好的管理方式。 所以我们要使用git-lfs来管理大型文件,git-lfs : 是 git的扩展,以将大文件接入到git的版本管理中。 简单来说, git-lfs将大型文件存储到git仓库之外的存储区域,不增加git仓库的体积,但是记录文件的版本变更信息。

安装 :

brew install git-lfs
git lfs install

CocoaPods在使用git-lfs后,要进行清理:

rm -rf /Users/$USER/Library/Caches/CocoaPods
pod cache clean --all

因为我们要使用git-lfs,所以对于demo中的三个库,我们没有放在github中(之前测试中,github的lfs对国内用户不友好)。现在我们将这三个库放到了git-lab中。

再介绍一下如何创建一个模块

首先在创建fastlane目录,放置一个Fastfile ,其中内容为 :

import_from_git(url: 'https://github.com/axe-org/fastlane', branch: 'v0.2')

然后输入命令

fastlane axe_init_module

详细的配置在axe文件夹下, AxefilePodfilePodspec三个文件中。

demo-app's People

Contributors

codingformoney avatar bettercodebetterlife avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.