Skip to content

Commit 57bdae3

Browse files
authored
Take the JSON BinPack CLI out of this repository (#821)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent 1c0b2e3 commit 57bdae3

29 files changed

+0
-667
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282
run: >
8383
cmake -S . -B ./build
8484
-DCMAKE_BUILD_TYPE:STRING=Release
85-
-DJSONBINPACK_CLI:BOOL=ON
8685
-DJSONBINPACK_NUMERIC:BOOL=ON
8786
-DJSONBINPACK_RUNTIME:BOOL=ON
8887
-DJSONBINPACK_COMPILER:BOOL=ON
@@ -97,7 +96,6 @@ jobs:
9796
run: >
9897
cmake -S . -B ./build
9998
-DCMAKE_BUILD_TYPE:STRING=Release
100-
-DJSONBINPACK_CLI:BOOL=ON
10199
-DJSONBINPACK_NUMERIC:BOOL=ON
102100
-DJSONBINPACK_RUNTIME:BOOL=ON
103101
-DJSONBINPACK_COMPILER:BOOL=ON

.github/workflows/website-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- run: >
1818
cmake -S . -B ./build
1919
-DCMAKE_BUILD_TYPE:STRING=Release
20-
-DJSONBINPACK_CLI:BOOL=OFF
2120
-DJSONBINPACK_NUMERIC:BOOL=OFF
2221
-DJSONBINPACK_RUNTIME:BOOL=OFF
2322
-DJSONBINPACK_COMPILER:BOOL=OFF

.github/workflows/website-deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727
- run: >
2828
cmake -S . -B ./build
2929
-DCMAKE_BUILD_TYPE:STRING=Release
30-
-DJSONBINPACK_CLI:BOOL=OFF
3130
-DJSONBINPACK_NUMERIC:BOOL=OFF
3231
-DJSONBINPACK_RUNTIME:BOOL=OFF
3332
-DJSONBINPACK_COMPILER:BOOL=OFF

CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
99
include(vendor/noa/cmake/noa.cmake)
1010

1111
# Options
12-
option(JSONBINPACK_CLI "Build the JSON BinPack CLI" ON)
1312
option(JSONBINPACK_NUMERIC "Build the JSON BinPack numeric library" ON)
1413
option(JSONBINPACK_RUNTIME "Build the JSON BinPack runtime" ON)
1514
option(JSONBINPACK_COMPILER "Build the JSON BinPack compiler" ON)
@@ -56,11 +55,6 @@ if(JSONBINPACK_COMPILER)
5655
add_subdirectory(src/compiler)
5756
endif()
5857

59-
# CLI
60-
if(JSONBINPACK_CLI)
61-
add_subdirectory(src/cli)
62-
endif()
63-
6458
if(JSONBINPACK_ADDRESS_SANITIZER)
6559
noa_sanitizer(TYPE address)
6660
elseif(JSONBINPACK_UNDEFINED_SANITIZER)
@@ -97,10 +91,6 @@ if(JSONBINPACK_TESTS)
9791
add_subdirectory(test/compiler)
9892
endif()
9993

100-
if(JSONBINPACK_CLI)
101-
add_subdirectory(test/cli)
102-
endif()
103-
10494
add_subdirectory(test/e2e)
10595

10696
if(PROJECT_IS_TOP_LEVEL)

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ configure: .always
1313
$(CMAKE) -S . -B ./build \
1414
-DCMAKE_BUILD_TYPE:STRING=$(PRESET) \
1515
-DCMAKE_COMPILE_WARNING_AS_ERROR:BOOL=ON \
16-
-DJSONBINPACK_CLI:BOOL=ON \
1716
-DJSONBINPACK_RUNTIME:BOOL=ON \
1817
-DJSONBINPACK_COMPILER:BOOL=ON \
1918
-DJSONBINPACK_TESTS:BOOL=ON \

src/cli/CMakeLists.txt

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/cli/command_compile.cc

Lines changed: 0 additions & 32 deletions
This file was deleted.

src/cli/command_decode.cc

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/cli/command_encode.cc

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/cli/command_help.cc

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)