diff --git a/README.md b/README.md index 0ad23076c..399b7d0bb 100644 --- a/README.md +++ b/README.md @@ -24,21 +24,6 @@ so they can only be run when embedding this library into one of the compilation - [.NET](https://github.com/awslabs/aws-encryption-sdk-net) -## Generate code - -TODO: remove before launch; customers wont' be using this - -If you change any of the ESDK model files you will need to re-run our code generators to generate -the API skeletons and shims. This is done via our [polymorph](https://github.com/awslabs/polymorph) -package. - -First, clone that repository to some local location. - -Then, from the root of this repository, run `bin/generate-code.sh`, -passing the root location of your polymorph repository as a parameter. - -Finally, you'll need to manually run a code formatter as described in the [README](./aws-encryption-sdk-net/Source/API/Generated). - ## Generate Duvet Reports This repo uses Duvet to directly document the [specification](https://github.com/awslabs/aws-encryption-sdk-specification) alongside this implementation. diff --git a/bin/generate-code.sh b/bin/generate-code.sh deleted file mode 100755 index 372481523..000000000 --- a/bin/generate-code.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# A simple script for using our Polymorph package to generate -# all relevant code - -if [ $# != 1 ] ; then - echo "Please provide root directory of polymorph" - exit 1 -fi - -pushd . - -export POLYMORPH_ROOT=$1 -export DAFNY_ROOT=`pwd` -export DOTNET_ROOT=$DAFNY_ROOT/aws-encryption-sdk-net -export MODEL_ROOT=$DAFNY_ROOT/model - -cd "$POLYMORPH_ROOT" - -# Generate code for material providers -./gradlew run --args="\ - --output-dotnet $DOTNET_ROOT/Source/API/Generated/Crypto \ - --output-dafny $DAFNY_ROOT/src/Generated \ - -m $MODEL_ROOT -s aws.encryptionSdk.core#AwsCryptographicMaterialProvidersFactory" - -# Generate code for ESDK -./gradlew run --args="\ - --output-dotnet $DOTNET_ROOT/Source/API/Generated/Esdk \ - --output-dafny $DAFNY_ROOT/src/Generated \ - -m $MODEL_ROOT -s aws.encryptionSdk#AwsEncryptionSdkFactory" - - -popd