GithubHelp home page GithubHelp logo

Comments (7)

littledu avatar littledu commented on May 22, 2024

感谢反馈,两个问题已经修复。正在同步中...

配置文件 .tmtworkflowrc 有开放啊,你说的配置文件是???配置是支持项目化的,比如你截图里面的 .tmtworkflowrc 是在根目录下,那么,当项目(actvi 或 temp �)下都没有 .tmtworkflowrc 时,是直接读取的全局,如果具体项目下有配置文件,则读取的是项目下的配置,达到不同项目不同配置。

插件则全部放在 _tasks/plugins 下面,只要不同配置调用不同的插件即可。

from tmt-workflow.

ktangel avatar ktangel commented on May 22, 2024

。。。我测试下下我改的。

from tmt-workflow.

littledu avatar littledu commented on May 22, 2024

可以给我们提 pr 哦
这里返回的是相对路径,而且需要替换的目录肯定是在第一位,可以直接 replace(/src/, 'dev') ,所以可以直接把 src 替换,不用写很多哈

from tmt-workflow.

ktangel avatar ktangel commented on May 22, 2024

之前想过 replace(/src/, 'dev')这样改,感觉不够严谨。。

from tmt-workflow.

littledu avatar littledu commented on May 22, 2024

正则替换这里只会替换第一个找到的,即使你后面文件名有 src 关键字,也不会替换,所以还好

from tmt-workflow.

ktangel avatar ktangel commented on May 22, 2024

你只用正则改了img的,其它的都是字串。

from tmt-workflow.

littledu avatar littledu commented on May 22, 2024

呃。。。那等过两天我加个新功能一起更新一下吧

from tmt-workflow.

Related Issues (20)

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.