-
Notifications
You must be signed in to change notification settings - Fork 9
/
developer.do
41 lines (31 loc) · 1.53 KB
/
developer.do
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
* Commands to run before developing
cap noi ado uninstall mrrobust
* And then probably make a new git branch
* When testing code remember to `discard` (remove program from memory) before rerunning test code
* For myprog.ado there should be a cscript myprog.do
* run after having merged the new branch into master on GitHub
* net install mrrobust, from(https://raw.github.com/remlapmot/mrrobust/master/) replace
net install github, from("https://haghish.github.io/github/") replace
//gitget mrrobust
do dependency
* tsci used in the mregger cscript
net install tsci, from(https://raw.github.com/remlapmot/tsci/master) replace
// To run the certification scripts uncomment and run
// cd cscripts
// do master
// ado uninstall mrrobust
* Requirements to build md files of examples in _drafts
* Setup markstat
* as per https://data.princeton.edu/stata/markdown/gettingStarted
ssc install markstat
ssc install whereis
if c(os) == "Windows" local pandocpath "C:\Program Files\RStudio\resources\app\bin\quarto\bin\tools" // "C:\Program Files\RStudio\bin\quarto\bin\pandoc.exe"
if c(os) == "MacOSX" local pandocpath "/opt/homebrew/bin/pandoc" // "/Applications/RStudio.app/Contents/MacOS/quarto/bin/pandoc"
if c(os) == "Unix" local pandocpath "/usr/bin/pandoc"
whereis pandoc "`pandocpath'"
// or wherever your pandoc exe is
// The markstat-call-R-example also sets the path to the R executable
* Requirement to build helpfiles as html
ssc install log2html
// To run the examples for the website cd into an appropriate sub-directory of _drafts and run
// do render