Skip to content

Commit 8276792

Browse files
committed
[更新] 优化代码实现.
1 parent 55f9dbf commit 8276792

15 files changed

Lines changed: 357 additions & 131 deletions

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "cstring"]
2+
path = cstring
3+
url = https://github.com/liu2guang/cstring.git

buildpkg.py

Lines changed: 243 additions & 24 deletions
Large diffs are not rendered by default.

config.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
21
{
3-
"username" : "None",
2+
"username" : "liu2guang",
43
"list_ignore_inc" : [".git", "example", "doc", "test"],
54
"list_ignore_src" : ["test.c", "example.c"],
65

7-
"template":
6+
"templates":
87
{
9-
"github-ci" : "template-github-ci.txt",
10-
"kconfig" : "template-kconfig.txt",
11-
"package-json" : "template-package-json.txt",
12-
"readme" : "template-readme-rtt.txt",
8+
"readme_md" : "template-readme-rtt.txt",
139
"sconscript" : "template-sconscript.txt",
14-
"sconscript-example": "template-sconscript-example.txt"
10+
"sconscript_example": "template-sconscript-example.txt",
11+
"ci_github" : "template-ci-github.txt",
12+
"kconfig" : "template-kconfig.txt",
13+
"package_json" : "template-package-json.txt"
1514
},
1615
"pkg_def_version" : "v1.0.0",
17-
"commit_content" : "[builpkg] Use the buildpkg tool to quickly build {{pkgname}}'s packages!"
16+
"commit_content" : "[builpkg] Use the buildpkg tool to quickly build ${pkgname}'s packages!"
1817
}

template/template-kconfig.txt

Lines changed: 0 additions & 38 deletions
This file was deleted.

template/template-package-json.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

template/template-readme.txt

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ notifications:
44
email: true
55

66
git:
7-
depth: 3
7+
depth: 1
88

99
before_script:
10-
- USER_NAME='{{username}}' REPO_NAME='{{pkgname}}'
10+
- USER_NAME='${username}' REPO_NAME='${pkgname}'
1111

1212
- sudo apt-get update
1313
- "sudo apt-get -qq install gcc-multilib libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 libsdl-dev || true"

0 commit comments

Comments
 (0)