Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

增加force参数,强制更新。 #23

Closed
yyfrankyy opened this issue Jun 9, 2011 · 1 comment
Closed

增加force参数,强制更新。 #23

yyfrankyy opened this issue Jun 9, 2011 · 1 comment
Assignees
Labels
Milestone

Comments

@yyfrankyy
Copy link
Contributor

https://github.com/seajs/spm/issues/17

https://github.com/seajs/spm/issues/8#issuecomment-1256668

这两个地方都提到需要一个force参数,来界定是否强制更新。

目前如果模块名字+版本号不换,内容直接忽略,不更新。版本号则无判断,直接更新。

该参数涉及以下强制内容:

  1. 按照版本号规范,仅更新符合规范的版本;而force参数则强制更新非稳定版本,比如backbone0.5.0-pre
  2. 强制更新模块,用于一些hotfix没有更新版本号。

注意web使用的data.js 依旧每次会强制更新。

@ghost ghost assigned yyfrankyy Jun 9, 2011
@yyfrankyy
Copy link
Contributor Author

--force-f 支持buildremove操作。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant