From 192e6b67b617ef0206d44eb5c384910ece6796e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9?= Date: Sun, 28 Nov 2021 12:49:19 +0100 Subject: [PATCH 1/3] add list and test command --- docs/command/commands.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/command/commands.md b/docs/command/commands.md index 256f524..0081370 100644 --- a/docs/command/commands.md +++ b/docs/command/commands.md @@ -130,3 +130,27 @@ ctpm publish ``` It must first check if an authentication file exists under the user-level .c3pm directory, and aborts if none exists. Otherwise, it must follow the publication process specs. + +### `list` + +The command will list all the dependencies need for your project recursively. + +###### Command format + +```bash +ctpm list +``` + +###### Options + +* `--tree` - display the result in a tree format + +### `test` + +The command will run the test specified in the `test` field of your c3pm.yaml. + +###### Command format + +```bash +ctpm test +``` From cfd6c21ff53fe23419652a32c735174abd696fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9?= Date: Sun, 28 Nov 2021 12:52:43 +0100 Subject: [PATCH 2/3] rename test-drive to basics --- docs/getting_started/test_drive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started/test_drive.md b/docs/getting_started/test_drive.md index 9ae0c18..1e41f64 100644 --- a/docs/getting_started/test_drive.md +++ b/docs/getting_started/test_drive.md @@ -56,4 +56,4 @@ When your project is done building, you should have an executable at the root. ```bash ./myproject -``` \ No newline at end of file +``` From 927d7eda806bfc2516c871171faa259574559406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9?= Date: Sun, 28 Nov 2021 12:56:08 +0100 Subject: [PATCH 3/3] fix checkout problem --- docs/command/commands.md | 23 ----------------------- docs/getting_started/test_drive.md | 2 +- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/docs/command/commands.md b/docs/command/commands.md index 0081370..02ea00a 100644 --- a/docs/command/commands.md +++ b/docs/command/commands.md @@ -131,26 +131,3 @@ ctpm publish It must first check if an authentication file exists under the user-level .c3pm directory, and aborts if none exists. Otherwise, it must follow the publication process specs. -### `list` - -The command will list all the dependencies need for your project recursively. - -###### Command format - -```bash -ctpm list -``` - -###### Options - -* `--tree` - display the result in a tree format - -### `test` - -The command will run the test specified in the `test` field of your c3pm.yaml. - -###### Command format - -```bash -ctpm test -``` diff --git a/docs/getting_started/test_drive.md b/docs/getting_started/test_drive.md index 1e41f64..a870068 100644 --- a/docs/getting_started/test_drive.md +++ b/docs/getting_started/test_drive.md @@ -1,6 +1,6 @@ --- id: test_drive -title: Test drive +title: Basics --- This page describes how to create a new C++ project with c3pm, add a library, build it and