Skip to content

Commit

Permalink
feat: add compilation step after cluster creation
Browse files Browse the repository at this point in the history
Added a call to `make compile` after the cluster is created and before the initial Git commit. This ensures that the project is compiled correctly before initiating version control.
  • Loading branch information
calvinhp committed Jul 29, 2024
1 parent 7ee5b7b commit 027dfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scaf
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ docker run --rm $DOCKER_RUN_OPTIONS -v "$(pwd):/home/scaf/out" \
if [ $? -eq 0 ]; then
kind create cluster --name $PROJECT_SLUG
cd $PROJECT_SLUG
make compile
git init .
git add .
git commit -m "Initial commit"
make compile
else
echo "Failed to create project."
exit 1
Expand Down

0 comments on commit 027dfb2

Please sign in to comment.