Skip to content

Commit

Permalink
Merge pull request HIT-SCIR#122 from memeda/master
Browse files Browse the repository at this point in the history
add dependency description file
  • Loading branch information
Oneplus committed Aug 6, 2015
2 parents a275989 + 920c45a commit efe4994
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions subproject.d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"description" : "This File is builded for describe the subporject dependency , including segmentor , postag , ner , parser and so on . currently it just list the segmentor dependency ." ,

"format_intro": [" 1. Every subproject dependency is described in a single json object in 'subproject' list " ,
" 2. Every subporject includes some descriptions , every description like this : " ,
" { " ,
" 'type' : ['dir'|'file'|'cmakelists'] , this indicate the object type " ,
" 'path' : 'path/to/object/' , relative to the root project. ",
" 'change_state' : ['NO_CHANGE'|'MODIFIED'|'ADD'|'SYNC'] , SYNC only for cmakelists , means to sync this file for " ,
" the current project according to dir and files of the corresponding dir "
],
"Attention" : "JSON format is strict . so it will be fine to use command : `cat subporject.d.josn | python -mjson.tool` to check if it is vlaid" ,
"subproject" : {
"segmentor" : [
{
"type" : "dir" ,
"path" : ["thirdparty/boost","thirdparty/tinythreadpp"] ,
"change_state" : "NO_CHANGE"
} ,
{
"type" : "dir" ,
"path" : "thirdparty/boost/libs/" ,
"change_state" : "MODIFIED"
},
{
"type" : "dir" ,
"path" : [ "src/segmentor" ,
"src/framework" ,
"src/utils" ] ,
"change_state" : "MODIFIED"
} ,
{
"type" : "file" ,
"path" : "src/config.h" ,
"change_state" : "ADD"
} ,
{
"type" : "cmakelists" ,
"path" : [ "CMakeLists.txt" ] ,
"change_state" : "SYNC"
} ,
{
"type" : "cmakelists" ,
"path" : [ "src/CMakeLists.txt" ,
"CMakeLists.txt" ,
"thirdparty/CMakeLists.txt" ] ,
"change_state" : "SYNC"
}
]
}

}

0 comments on commit efe4994

Please sign in to comment.