Skip to content

Commit 378c8ee

Browse files
author
haghish
committed
1.3.1
1 parent ef59396 commit 378c8ee

File tree

5 files changed

+21
-19
lines changed

5 files changed

+21
-19
lines changed

github.ado

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*** DO NOT EDIT THIS LINE -----------------------------------------------------
2-
Version: 1.3.0
2+
Version: 1.3.1
33
Title: github
44
Description: search, install, and uninstall Stata packages with a particular
55
version (release) as well as their dependencies from
@@ -402,5 +402,7 @@ prog define github
402402

403403
end
404404

405-
*markdoc github.ado, export(sthlp) replace build
405+
/*
406+
capture prog drop github
407+
markdoc github.ado, export(sthlp) replace build
406408

github.pkg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
d 'GITHUB': installs Stata packages with a particular version (release) as
2-
d well as their dependencies from
3-
d {browse "http://www.github.com/haghish/githubinstall":GitHub}
1+
d 'GITHUB': search, install, and uninstall Stata packages with a particular {break}
2+
d version (release) as well as their dependencies from
3+
d {browse "http://www.github.com/haghish/github":GitHub} website
44
d
5-
d Distribution-Date: 20161116
5+
d Distribution-Date: 20161123
66
d
77
F github.ado
88
F github.sthlp
@@ -15,4 +15,4 @@ F githubmake.ado
1515
F githuboutput.ado
1616
F githubQuery.ado
1717
F githubsearch.ado
18-
F githubsearchsteps.ado
18+
F githubsearchsteps.ado

github.sthlp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{smcl}
2-
{right:version 1.3.0}
2+
{right:version 1.3.1}
33
{title:Title}
44

55
{phang}
@@ -79,7 +79,7 @@ installing a new repository{p_end}
7979
{synopt:{opt force}}specifies that the downloaded files be installed even if the
8080
{bf:packagename.pkg} and {bf:Stata.toc} files are missing. when searching for
8181
repositories on github, packages that lack the {bf:pkg} and {bf:toc} files appear
82-
as "({bf:force})" in the result table, which indicates they are installed with
82+
as "({it:_force_})" in the result table, which indicates they are installed with
8383
the {bf:force} option. {p_end}
8484

8585
{syntab:Search Options}

githuboutput.ado

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ prog githuboutput
5656
di _col(29) "{stata github install `address':Install}" _c
5757
}
5858
else {
59-
*di _col(29) "" _c
60-
di _col(29) "({stata github install `address', force:{it:force}})" _c
59+
di _col(29) "" _c
60+
*di _col(29) "({stata github install `address', force:{it:force}})" _c
6161
}
6262

6363
// Description
@@ -105,12 +105,12 @@ prog githuboutput
105105
if `"`l1'"' != "" di _col(38) `"`l1'"'
106106

107107
//Add the package size
108-
*if "`install'" == "1" & trim(`"`l1'"') != "" {
109-
if trim(`"`l1'"') != "" {
108+
*if trim(`"`l1'"') != "" {
109+
if "`install'" == "1" & trim(`"`l1'"') != "" {
110110
di _col(29) "{it:`size'k}" _c
111111
}
112-
//else if "`install'" == "1" {
113-
else {
112+
//else {
113+
else if "`install'" == "1" {
114114
local alternative 1
115115
}
116116
local l1 //RESET

stata.toc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
v 1.3.0
2-
d 'GITHUB': installs Stata packages with a particular version (release) as
3-
d well as their dependencies from
4-
d {browse "http://www.github.com/haghish/githubinstall":GitHub}
1+
v 1.3.1
2+
d 'GITHUB': search, install, and uninstall Stata packages with a particular {break}
3+
d version (release) as well as their dependencies from
4+
d {browse "http://www.github.com/haghish/github":GitHub} website
55
p github

0 commit comments

Comments
 (0)