Skip to content

Commit

Permalink
-set the version to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kamchatka-volcano committed May 16, 2023
1 parent 5dfe0ba commit 4b4ffd1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.18)
project(lunchtoast VERSION 0.1.0 DESCRIPTION "lunchtoast - a command line functional testing automation tool")
project(lunchtoast VERSION 0.2.0 DESCRIPTION "lunchtoast - a command-line tool for functional testing of console applications.")

find_package(Boost 1.67 REQUIRED COMPONENTS system filesystem)
find_package(Boost 1.78 REQUIRED COMPONENTS system filesystem)
include(GNUInstallDirs)
include(external/seal_lake)

Expand Down
2 changes: 1 addition & 1 deletion functional_tests/commandline_error_empty/report.ref
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Positional argument 'testPath' is missing.
Usage: lunchtoast [commands] <testPath> [-config=<path>] [-shell=<string>] [-listFailedTests=<path>] [-collectFailedTests=<path>] [-reportWidth=<int>] [-reportFile=<path>] [-searchDepth=<int>] [-select=<string>...] [-skip=<string>...] [--withoutCleanup] [--help]
Usage: lunchtoast [commands] <testPath> [-config=<path>] [-shell=<string>] [-listFailedTests=<path>] [-collectFailedTests=<path>] [-reportWidth=<int>] [-reportFile=<path>] [-searchDepth=<int>] [-select=<string>...] [-skip=<string>...] [--withoutCleanup] [--help] [--version]

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Argument 'testPath' is invalid: specified test directory 'test.cfg' doesn't exist.

Usage: lunchtoast [commands] <testPath> [-config=<path>] [-shell=<string>] [-listFailedTests=<path>] [-collectFailedTests=<path>] [-reportWidth=<int>] [-reportFile=<path>] [-searchDepth=<int>] [-select=<string>...] [-skip=<string>...] [--withoutCleanup] [--help]
Usage: lunchtoast [commands] <testPath> [-config=<path>] [-shell=<string>] [-listFailedTests=<path>] [-collectFailedTests=<path>] [-reportWidth=<int>] [-reportFile=<path>] [-searchDepth=<int>] [-select=<string>...] [-skip=<string>...] [--withoutCleanup] [--help] [--version]

1 change: 1 addition & 0 deletions functional_tests/commandline_help/report.ref
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Parameters:
Flags:
--withoutCleanup disable cleanup of test files
--help show usage info and exit
--version show version info and exit
Commands:
saveContents [options] save the current contents of the test
directory
Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ int mainApp(const CommandLine& commandLine)
#ifdef _WIN32
int wmain(int argc, wchar_t** argv)
{
auto cmdlineReader = cmdlime::CommandLineReader<cmdlime::Format::Simple>{"lunchtoast"};
auto cmdlineReader = cmdlime::CommandLineReader<cmdlime::Format::Simple>{"lunchtoast", "lunchtoast v0.2.0"};
cmdlineReader.setErrorOutputStream(std::cout);
return cmdlineReader.exec<CommandLine>(argc, argv, mainApp);
}
#else
int main(int argc, char** argv)
{
auto cmdlineReader = cmdlime::CommandLineReader<cmdlime::Format::Simple>{"lunchtoast"};
auto cmdlineReader = cmdlime::CommandLineReader<cmdlime::Format::Simple>{"lunchtoast", "lunchtoast v0.2.0"};
cmdlineReader.setErrorOutputStream(std::cout);
return cmdlineReader.exec<CommandLine>(argc, argv, mainApp);
}
Expand Down

0 comments on commit 4b4ffd1

Please sign in to comment.