Skip to content

Commit

Permalink
Break out library
Browse files Browse the repository at this point in the history
into separate repo.
Component follows.
  • Loading branch information
John-LittleBearLabs committed Dec 17, 2024
1 parent 26f2c07 commit 505e2df
Show file tree
Hide file tree
Showing 1,073 changed files with 542 additions and 33,339 deletions.
File renamed without changes.
36 changes: 23 additions & 13 deletions .github/doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,26 @@ source "${here}/ubuntu-deps.env"
sudo apt install doxygen

echo Configure
mkdir -p build
cmake \
-G Ninja \
-S ipfs_chromium \
-B build \
-D USE_DOXYGEN=TRUE \
-D CMAKE_BUILD_TYPE=Debug
cmake --build build --config Debug --target doc
find ./ -iname index.html
ls -lrth build/
ls -lrth build/doc/
ls -lrth build/doc/html
mv -v ipfs_chromium/.git .
mkdir -p build
set -x
find build/ -iname '*.cmake'
find ./ -iname '*proto*'
find build/ -iname '*proto*'
if cmake \
-G Ninja \
-S ipfs_chromium \
-B build \
-D USE_DOXYGEN=TRUE \
-D CMAKE_BUILD_TYPE=Debug
then
cmake --build build --config Debug --target doc
find ./ -iname index.html
ls -lrth build/
ls -lrth build/doc/
ls -lrth build/doc/html
mv -v ipfs_chromium/.git .
else
find build/ -iname '*.cmake'
find ./ -iname '*proto*'
find build/ -iname '*proto*'
fi
27 changes: 27 additions & 0 deletions .github/lib.config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/bin/bash -ex
mkdir build
mkdir ipfs-client-dev
if which ${{ matrix.config.cc }}
then
CC=`which ${{ matrix.config.cc }}`
export CC
fi
if which ${{ matrix.config.cxx }}
then
CXX=`which ${{ matrix.config.cxx }}`
export CXX
fi
if cmake \
-G "${{ matrix.config.generators }}" \
-S . \
-B build \
-D CMAKE_INSTALL_PREFIX=`pwd`/ipfs-client-dev \
-D CMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
-D USE_DOXYGEN=OFF \
-D CXX_VERSION=20
then
echo "Configured."
else
find build/ -iname '*proto*'
fi

2 changes: 2 additions & 0 deletions .github/tour.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -ex
echo "TODO ${0}"
exit
echo Clone tester repo.
git clone https://github.com/John-LittleBearLabs/ipfs_client_clitester.git
for e in "${GITHUB_HEAD_REF-}" "${GITHUB_REF-}"
Expand Down
7 changes: 7 additions & 0 deletions .github/ubuntu-deps.env
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ pipx ensurepath
pipx install conan
npm install -g @marp-team/marp-cli

if ! conan profile show -pr:a default
then
conan profile detect
sed -i 's,cppstd=.*17,cppstd=20,' ~/.conan2/profiles/default
conan profile show -pr:a default
fi

set +x
echo Show versions:
for p in g++ gcc clang{++,} lcov conan
Expand Down
3 changes: 2 additions & 1 deletion .github/ut.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash -ex

echo "TODO ${0}"
exit
here="$(dirname "${0}")"
export here
source "${here}/ubuntu-deps.env"
Expand Down
22 changes: 1 addition & 21 deletions .github/workflows/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,27 +132,7 @@ jobs:
conan --version
- name: Configure
shell: bash
run: |
mkdir build
mkdir ipfs-client-dev
if which ${{ matrix.config.cc }}
then
CC=`which ${{ matrix.config.cc }}`
export CC
fi
if which ${{ matrix.config.cxx }}
then
CXX=`which ${{ matrix.config.cxx }}`
export CXX
fi
cmake \
-G "${{ matrix.config.generators }}" \
-S . \
-B build \
-D CMAKE_INSTALL_PREFIX=`pwd`/ipfs-client-dev \
-D CMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
-D USE_DOXYGEN=OFF \
-D CXX_VERSION=20
run: ./ipfs_chromium/.github/lib.config.sh
- name: Build
shell: bash
run: cmake --build build --config ${{ matrix.config.build_type }} --target package
Expand Down
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/chromium-ipfs.iml

This file was deleted.

37 changes: 0 additions & 37 deletions .idea/codeStyles/Project.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/file.template.settings.xml

This file was deleted.

Empty file.
8 changes: 0 additions & 8 deletions .idea/fileTemplates/internal/C Header File.h

This file was deleted.

15 changes: 0 additions & 15 deletions .idea/fileTemplates/internal/C++ Class Header.h

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/fileTemplates/internal/C++ Class.cc

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/ipfs-chromium.iml

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/misc.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

File renamed without changes.
Loading

0 comments on commit 505e2df

Please sign in to comment.