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

fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new 380184cfe Minor: Remove `api` directory from cpp dist (#3042)
380184cfe is described below

commit 380184cfefb563c32067ac2c93b1682d63e0ccb3
Author: Fokko Driesprong <[email protected]>
AuthorDate: Thu Jul 25 22:37:31 2024 +0200

    Minor: Remove `api` directory from cpp dist (#3042)
    
    * Minor: Remove `api` directory from cpp dist
    
    ```
    + ./build.sh dist
    -- Version: 10.2.1
    -- Build type: Release
    Enabled snappy codec
    -- Configuring done
    -- Generating done
    -- Build files have been written to: 
/home/fokko.driesprong/avro/lang/c++/build
    -- Version: 10.2.1
    -- Build type: Release
    Enabled snappy codec
    -- Configuring done
    -- Generating done
    -- Build files have been written to: 
/home/fokko.driesprong/avro/lang/c++/build
    cp: cannot stat 'api': No such file or directory
    ``
    
    * Thanks Martin
    
    * Update lang/c++/build.sh
    
    Co-authored-by: Martin Grigorov <[email protected]>
    
    ---------
    
    Co-authored-by: Martin Grigorov <[email protected]>
---
 lang/c++/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/c++/build.sh b/lang/c++/build.sh
index c1aaa3dd1..11e1599d1 100755
--- a/lang/c++/build.sh
+++ b/lang/c++/build.sh
@@ -58,7 +58,7 @@ function do_doc() {
 function do_dist() {
   rm -rf $BUILD_CPP/
   mkdir -p $BUILD_CPP
-  cp -r api AUTHORS build.sh CMakeLists.txt ChangeLog \
+  cp -r include AUTHORS build.sh CMakeLists.txt ChangeLog \
     LICENSE NOTICE impl jsonschemas NEWS README test examples \
     $BUILD_CPP
   find $BUILD_CPP -name '.svn' | xargs rm -rf

Reply via email to