资源简介


资源截图

代码片段和文件信息

import os
vars = {
        ‘ptr_lib_version‘: ‘1.0.11‘
        ‘ptr_lib_stable_version‘: ‘1.0.11‘
        ‘cube_sdk_version‘: ‘1.0.44.39-SNAPSHOT‘
        }

files = [
        ‘README.md‘
        ‘README-cn.md‘
        ‘ptr-lib/pom.xml‘
        ‘ptr-lib/gradle.properties‘
        ‘ptr-demo/pom.xml‘
        ‘ptr-demo/build.gradle‘
        ]

current_dir = os.path.dirname(os.path.realpath(__file__))
print current_dir
src_dir = current_dir + ‘/template/‘
dst_dir = current_dir + ‘/‘

def update_var_for_file(file vars):
    src_file = src_dir + file
    dst_file = dst_dir + file
    print “update_var_for_file: %s => %s“ % (src_file dst_file)
    infile = open(src_file)
    outfile = open(dst_file ‘w‘)

    for line in infile:
        for src target in vars.iteritems():
            l

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\
     文件         306  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\.gitignore
     文件         155  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\.travis.yml
     文件        1083  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\LICENSE
     文件        9248  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\README-cn.md
     文件        9949  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\README.md
     文件         424  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\build.gradle
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\buildSrc\
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\buildSrc\src\
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\buildSrc\src\main\
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\buildSrc\src\main\groovy\
     文件        1709  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\buildSrc\src\main\groovy\copy-libs.gradle
     文件         132  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\gradle.properties
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\gradle\
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\gradle\wrapper\
     文件       51348  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\gradle\wrapper\gradle-wrapper.jar
     文件         238  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\gradle\wrapper\gradle-wrapper.properties
     文件        5080  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\gradlew
     文件        2404  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\gradlew.bat
     文件         727  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\pom.xml
     文件         997  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\proguard-project.txt
     文件         631  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\project.properties
     文件      544400  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo.apk
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\
     文件        1335  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\AndroidManifest.xml
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\assets\
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\assets\request_init\
     目录           0  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\assets\request_init\demo\
     文件        6896  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\assets\request_init\demo\image-list.json
     文件        2601  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\build.gradle
     文件       63664  2016-05-04 03:01  android-Ultra-Pull-To-Refresh-master\ptr-demo\ic_launcher-web.png
............此处省略171个文件信息

评论

共有 条评论