Skip to content

Commit

Permalink
Merge pull request #5618 from roc-lang/basic-cli-old-docs
Browse files Browse the repository at this point in the history
basic-cli docs site for 0.3.2
  • Loading branch information
ayazhafiz authored Jun 27, 2023
2 parents 82a2f3e + 8bdbc22 commit a891fbb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions www/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,13 @@ mkdir -p $BASIC_CLI_PACKAGE_DIR
rm generated-docs/*.* # we already copied over the *.js and *.css files earlier, so just drop these.
mv generated-docs/* $BASIC_CLI_PACKAGE_DIR # move all the folders to build/packages/basic-cli

# set up docs for basic-cli 0.3.2
BASIC_CLI_DIR_0_3_2=$BASIC_CLI_PACKAGE_DIR/0-3-2
mkdir -p $BASIC_CLI_DIR_0_3_2
curl -fL --output $BASIC_CLI_DIR_0_3_2/docs.tar.gz https://github.com/roc-lang/basic-cli/releases/download/0.3.2/docs.tar.gz
tar -xf $BASIC_CLI_DIR_0_3_2/docs.tar.gz -C $BASIC_CLI_DIR_0_3_2/
rm $BASIC_CLI_DIR_0_3_2/docs.tar.gz
mv $BASIC_CLI_DIR_0_3_2/generated-docs/* $BASIC_CLI_DIR_0_3_2
rm -rf $BASIC_CLI_DIR_0_3_2/generated-docs

popd

0 comments on commit a891fbb

Please sign in to comment.