# manifests **Repository Path**: chengxuyaya/manifests ## Basic Information - **Project Name**: manifests - **Description**: manifests of duckode - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-28 - **Last Updated**: 2024-08-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # duckode的manifests ## 获取源码 ### 前提条件 1. 注册码云账号 2. 注册码云SSH公钥,请参考[码云帮助中心](https://gitee.com/help/articles/4191)。 3. 安装[git客户端](https://git-scm.com/book/zh/v2/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git)并配置用户信息。 ```shell git config --global user.name "yourname" git config --global user.email "your-email-address" ``` 4. 执行如下命令安装码云repo工具。 下述命令中的安装路径以"~/bin"为例,请用户自行创建所需目录。 ```shell mkdir ~/bin curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 -o ~/bin/repo chmod a+x ~/bin/repo ``` 5. 将repo添加到环境变量。 ```shell vim ~/.bashrc # 编辑环境变量 export PATH=~/bin:$PATH # 在环境变量的最后添加一行repo路径信息 source ~/.bashrc # 应用环境变量 ``` ### 开始获取 - Duckode主干代码获 方式一(推荐):通过repo + ssh下载(需注册公钥,请参考[码云帮助中心](https://gitee.com/help/articles/4191))。 ```shell repo init -u git@gitee.com:chengxuyaya/manifests.git -b master repo sync -c ``` 方式二:通过repo + https下载。 ```shell repo init -u https://gitee.com/chengxuyaya/manifests.git -b master repo sync -c ``` ## 如何编译 ### 依赖 ```shell clang node tsc webpack libegl1-mesa-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev ``` ### 预构建 ```shell ./build/prebuild.sh ``` ### 编译 ```shell python3 build.py ```