Skip to content

gahoo/SNAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNAP is Not A Pipeline

基于模板的流程创建、测试、运行管理工具。

安装

asciicast

git clone ssh://[email protected]:10022/lijiaping/SNAP.git
cd SNAP
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt

详细安装及使用方法请参考Wiki

与atom编辑器的搭配使用

  1. 安装script
  2. 编辑~/.atom/packages/script/lib/grammars.coffee,在末尾添加:
  YAML:
    "File Based":
      command: "snap" #改成snap所在路径
      args: (context) -> ['app', 'build', '-config', context.filepath]
  1. 保存为.yaml后缀文件,cmd + i即可生成预览脚本

自动补全:修改~/.atom/snippets.cson

About

SNAP is Not A Pipeline

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages