From f9c9b9f92441c772f89702c0fbf9bbcdc94f1b5f Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Tue, 4 Feb 2020 20:29:16 +1000 Subject: [PATCH] Prevent docs dir from being completely removed --- packages/sol-doc/docs/.gitkeep | 0 packages/sol-doc/package.json | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 packages/sol-doc/docs/.gitkeep diff --git a/packages/sol-doc/docs/.gitkeep b/packages/sol-doc/docs/.gitkeep new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/sol-doc/package.json b/packages/sol-doc/package.json index 419a527c1a..ec22d4f878 100644 --- a/packages/sol-doc/package.json +++ b/packages/sol-doc/package.json @@ -14,7 +14,7 @@ "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info", "lint": "tslint --format stylish --project .", "fix": "tslint --fix --format stylish --project .", - "clean": "shx rm -rf lib docs", + "clean": "shx rm -rf lib docs/*", "generate-protocol-docs": "COMMIT=`git rev-parse --short HEAD`; mkdir -p ${npm_package_config_outputDir}; yarn start `echo ${npm_package_config_sources} | sed -r 's/(\\S+?)\\b/--source \\1/g'` --root ../../ --root ../../node_modules/@0x/contracts-=contracts/ `echo ${npm_package_config_contracts} | sed -r 's/(\\w+?)\\b/--contract \\1/g'` --md ${npm_package_config_outputDir}/reference.mdx --md-url-prefix \"${npm_package_config_repoBlobRoot}/${COMMIT}\"", "s3:sync_md_docs": "aws s3 sync ${npm_package_config_outputDir} s3://docs-markdown/${npm_package_config_s3DocsPath} --profile 0xproject --region us-east-1 --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers" },