【文件属性】:
文件名称:new:将您的软件发布到野外..
文件大小:29KB
文件格式:ZIP
更新时间:2021-06-13 22:37:27
Ruby
新的
一个灵活的工具,用于将您的代码发布到野外。
快速使用
gem install new
cd /my/project/dir
new init -n " My Project Name " -v " 1.2.3 "
new release
全局新文件
您可以在主目录的 Newfile 中设置默认值。 每当新运行时,将始终加载这些选项。 这是添加自定义源的好地方。 您可以使用支持的任何格式
sources :
local : /path/to/local/new-tasks
remote : my-github-username/repo-with-new-tasks
项目新文件
要使用 new,您需要在项目的根目录中有一个 Newfile。 Newfile 是一个 YAML 格式的文件,其中包含有关您的项目的信息。 需要name 、 version和至少 1 个task 。
【文件预览】:
new-master
----.gitignore(33B)
----README.md(3KB)
----Newfile(446B)
----CHANGELOG.md(427B)
----bin()
--------new(95B)
----Gemfile(441B)
----.gemspec(1KB)
----Guardfile(284B)
----docs()
--------task_development.md(4KB)
----Yuyifile(133B)
----.rspec(53B)
----Gemfile.lock(3KB)
----spec()
--------fixtures()
--------lib()
--------spec_helper.rb(4KB)
----.travis.yml(122B)
----lib()
--------new.rb(4KB)
--------new()