Skip to content

Commit

Permalink
Allow for building without installation
Browse files Browse the repository at this point in the history
  • Loading branch information
bquistorff committed Aug 25, 2016
1 parent 3e61d89 commit c3812f0
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
40 changes: 40 additions & 0 deletions build_and_install_devtools.do
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
clear all
set more off
set trace off
mata mata clear
// cd i:/george/comandos_paquetes_librerias/stata/devtools
set matastrict on

mata mata mlib create ldevtools, replace
do devtools.mata
do dt_capture.mata
do dt_create_pkg.mata
do dt_git_install.mata
do dt_install_on_the_fly.mata
do dt_list_files.mata
do dt_moxygen.mata
do dt_read_txt.mata
do dt_restart_stata.mata
do dt_shell.mata
do dt_st_chars.mata
do dt_stata_capture.mata
do dt_stata_path.mata

mata mata mlib add ldevtools dt_*(), complete

/* Documenting source code */
mata dt_moxygen(("devtools.mata","dt_capture.mata","dt_st_chars.mata","dt_moxygen.mata"), "devtools_source.hlp")

/*
Creates a pkg file
mata
dt_create_pkg(
"devtools Tools for the stata developer.",
("ldevtools.mlib","devtools_source.hlp","mf_dt_capture.sthlp"),
1,
"George Vega, James Fiedler"
)
end
*/

mata dt_install_on_the_fly("devtools")
3 changes: 2 additions & 1 deletion build_devtools.do
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ dt_create_pkg(
end
*/

mata dt_install_on_the_fly("devtools")
//For installing see the build_and_install_devtools.do
//mata dt_install_on_the_fly("devtools")

0 comments on commit c3812f0

Please sign in to comment.