forked from cdsdm/cdsdm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.il
51 lines (41 loc) · 1.28 KB
/
init.il
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; init.il
;
; sets the priority value for child processes
ipcSetPriority(0)
; make table
when( null(boundp('cdsdm_git)) || null(tablep(cdsdm_git))
cdsdm_git = makeTable("cdsdm_git")
)
; path
cdsdm_git->path = getShellEnvVar("CDSDM_PATH")
cdsdm_git->config = strcat( cdsdm_git->path "/config" )
cdsdm_git->skill = strcat( cdsdm_git->path "/skill" )
; load
load( strcat( cdsdm_git->skill "/load.il" ) )
; var
cdsdm_git->work_dir = "./"
cdsdm_git->backup_name = ".cds.lib.cdsdm"
cdsdm_git->backup_path = cdsdm_cdslib_backup()
cdsdm_git->dotfiles = list(".gitattributes" ".gitignore" ".gitweb" ".oalib"
".backlog" ".bugzilla" ".jira" ".mantis" ".opentask" ".redmine" ".scarab" ".trac"
".bitbucket" ".gitbucket" ".gitblit" ".github" ".gitlab" ".gitolite" ".gitosis" ".gitweb"
".jenkins")
cdsdm_git->master = "master"
cdsdm_git->max_branch = 40
cdsdm_git->clone_options = "--depth 1"
cdsdm_git->bg = "&" ; "&" or ""
cdsdm_git->push = t ; t or nil
cdsdm_git->max_log = 60
cdsdm_git->log_format = "'%h (%cD) %an: %s'"
; command
cdsdm_git->chmod = "/bin/chmod"
cdsdm_git->cp = "/bin/cp"
cdsdm_git->git = "git"
cdsdm_git->gitk = "gitk"
cdsdm_git->git-lfs = "git-lfs"
cdsdm_git->rm = "/bin/rm"
cdsdm_git->xterm = "/usr/bin/xterm"
; trigger
ddRegTrigger( "PreDeleteObj" 'cdsdm_trigger )
;
;