Skip to content

Commit 0548750

Browse files
author
Cuong Duong
committed
docstrings
1 parent bcd91fd commit 0548750

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

cmdstanpy/install_cmdstan.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ def usage() -> None:
6767

6868

6969
def clean_all(verbose: bool = False) -> None:
70+
"""
71+
Run `make clean-all` in the current directory (must be a cmdstan library).
72+
73+
:param verbose: when ``True``, print build msgs to stdout.
74+
"""
7075
cmd = [MAKE, 'clean-all']
7176
proc = subprocess.Popen(
7277
cmd,
@@ -90,6 +95,11 @@ def clean_all(verbose: bool = False) -> None:
9095

9196

9297
def build(verbose: bool = False) -> None:
98+
"""
99+
Run `make build` in the current directory (must be a cmdstan library)
100+
101+
:param verbose: when ``True``, print build msgs to stdout.
102+
"""
93103
cmd = [MAKE, 'build']
94104
proc = subprocess.Popen(
95105
cmd,
@@ -135,6 +145,7 @@ def build(verbose: bool = False) -> None:
135145

136146

137147
def compile_example():
148+
"""Compile the example model. The current directory must be a cmdstan library."""
138149
cmd = [
139150
MAKE,
140151
Path(

0 commit comments

Comments
 (0)