Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .devcontainer/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
AAZ_CLI_PATH=/workspaces/azure-cli
AAZ_CLI_EXTENSION_PATH=/workspaces/azure-cli-extensions
AAZ_SWAGGER_PATH=/workspaces/azure-rest-api-specs
AAZ_PATH=/workspaces/aaz
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"cpus": 16,
"memory": "64gb",
"storage": "128gb"
}
},
"runArgs": ["--env-file", ".devcontainer/.env"],
}
6 changes: 2 additions & 4 deletions .devcontainer/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ if ! command -v aaz-dev &> /dev/null; then
ELAPSED_TIME=$SECONDS

echo -e "\n${YELLOW}Elapsed time: $((ELAPSED_TIME / 60))m $((ELAPSED_TIME % 60))s.${NC}"
echo -e "\n${GREEN}Finished setup! Please launch the codegen tool via:${NC}"
echo -e "${GREEN}\$ aaz-dev run -c azure-cli -e azure-cli-extensions -s azure-rest-api-specs -a aaz${NC}\n"
echo -e "\n${GREEN}Finished setup! Please launch the codegen tool via: aaz-dev run${NC}\n"
else
echo -e "\nPlease launch the codegen tool via:"
echo -e "$ aaz-dev run -c azure-cli -e azure-cli-extensions -s azure-rest-api-specs -a aaz\n"
echo -e "\nPlease launch the codegen tool via: aaz-dev run\n"
fi