diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-28 16:25:32 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-28 16:25:32 -0700 |
| commit | 48fe5f36b2ae0ee82d11cb7c2c42e4d7bec9873f (patch) | |
| tree | 7e5a5094d53abbc2dde5648e2aec37f67586988a | |
| parent | e4ada711c27221f2abd166c65a11940caff88f51 (diff) | |
| download | vcpkg-48fe5f36b2ae0ee82d11cb7c2c42e4d7bec9873f.tar.gz vcpkg-48fe5f36b2ae0ee82d11cb7c2c42e4d7bec9873f.zip | |
Rename SCAFFOLD to CREATE to match `vcpkg create`
| -rw-r--r-- | scripts/ports.cmake | 2 | ||||
| -rw-r--r-- | toolsrc/src/commands_create.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ports.cmake b/scripts/ports.cmake index eeb7b254c..5887504d2 100644 --- a/scripts/ports.cmake +++ b/scripts/ports.cmake @@ -38,7 +38,7 @@ macro(debug_message) endif() endmacro() -if(CMD MATCHES "^SCAFFOLD$") +if(CMD MATCHES "^CREATE$") if(EXISTS ports/${PORT}/portfile.cmake) message(FATAL_ERROR "Portfile already exists: '${VCPKG_ROOT_DIR}/ports/${PORT}/portfile.cmake'") endif() diff --git a/toolsrc/src/commands_create.cpp b/toolsrc/src/commands_create.cpp index 76ba644e4..2712d3e6a 100644 --- a/toolsrc/src/commands_create.cpp +++ b/toolsrc/src/commands_create.cpp @@ -31,7 +31,7 @@ namespace vcpkg custom_filename = Strings::format(LR"( -DFILENAME="%s" )", Strings::utf8_to_utf16(zip_file_name)); } - const std::wstring cmdline = Strings::format(LR"(cmake -DCMD=SCAFFOLD -DPORT=%s -DTARGET_TRIPLET=%s -DURL=%s%s-P "%s")", + const std::wstring cmdline = Strings::format(LR"(cmake -DCMD=CREATE -DPORT=%s -DTARGET_TRIPLET=%s -DURL=%s%s-P "%s")", Strings::utf8_to_utf16(spec->name), Strings::utf8_to_utf16(spec->target_triplet.value), Strings::utf8_to_utf16(args.command_arguments.at(1)), |
