This is an automated email from the ASF dual-hosted git repository.

utzig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 7cbaf03  doc: Fix post_link_cmds newt extcmd documentation
     new e245901  Merge pull request #2534 from utzig/fix-post-link-doc
7cbaf03 is described below

commit 7cbaf0371b4a7d39aa4fa652c111521f7a902bf6
Author: Fabio Utzig <ut...@apache.org>
AuthorDate: Tue Mar 16 13:14:58 2021 -0300

    doc: Fix post_link_cmds newt extcmd documentation
    
    The `post_build_cmds` step was renamed to `post_link_cmds` with
    
    
https://github.com/apache/mynewt-newt/commit/39005b80a6a034244061898c1b610dd7e4e34a36
    
    Fix extcmd documentation appropriately.
    
    Signed-off-by: Fabio Utzig <ut...@apache.org>
---
 docs/os/modules/extcmd/extcmd.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/os/modules/extcmd/extcmd.rst 
b/docs/os/modules/extcmd/extcmd.rst
index 3ee98bf..0e752c5 100644
--- a/docs/os/modules/extcmd/extcmd.rst
+++ b/docs/os/modules/extcmd/extcmd.rst
@@ -6,7 +6,7 @@ three types of commands:
 
 1. pre_build_cmds (run before the build)
 2. pre_link_cmds (run after compilation, before linking)
-3. post_build_cmds (run after the build)
+3. post_link_cmds (run after linking)
 
 Example
 ~~~~~~~
@@ -22,8 +22,8 @@ Example (apps/blinky/pkg.yml):
     pkg.pre_link_cmds:
         scripts/pre_link.sh: 500
 
-    pkg.post_build_cmds:
-        scripts/post_build.sh: 100
+    pkg.post_link_cmds:
+        scripts/post_link.sh: 100
 
 
 For each command, the string on the left specifies the command to run.
@@ -37,7 +37,7 @@ When newt builds this example, it performs the following 
sequence:
 - [compile]
 - scripts/pre_link.sh
 - [link]
-- scripts/post_build.sh
+- scripts/post_link.sh
 
 If other packages specify custom commands, those commands would also be
 executed during the above sequence.  For example, if another package

Reply via email to