Skip to content

Commit

Permalink
🔧 Customize Mint path
Browse files Browse the repository at this point in the history
  • Loading branch information
olejnjak committed Oct 11, 2023
1 parent 468b004 commit 47e2833
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 12 additions & 0 deletions ackee-xcode.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ build {
provisioner "shell" {
inline = [
"echo 'export PATH=/usr/local/bin/:$PATH' >> ~/.zprofile",
"echo \"export MINT_PATH='/Volumes/My Shared Files/mint'\" >> ~/.zprofile",
"echo \"export MINT_LINK_PATH='/Volumes/My Shared Files/mint/bin'\" >> ~/.zprofile",
"source ~/.zprofile",
"brew install xcodesorg/made/xcodes",
"echo 'Downloading Xcode'",
Expand Down Expand Up @@ -69,6 +71,16 @@ build {
]
}

provisioner "shell" {
inline = [
"source ~/.zprofile",
"git clone https://github.com/olejnjak/Mint",
"cd Mint",
"sudo make",
"rm -rf Mint",
]
}

provisioner "shell" {
inline = [
"source ~/.zprofile",
Expand Down
3 changes: 1 addition & 2 deletions sonoma-base.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ build {
"source ~/.zprofile",
"brew --version",
"brew update",
"brew install wget cmake gcc git-lfs jq gh gitlab-runner mint",
"brew install wget cmake gcc git-lfs jq gh gitlab-runner",
"git lfs install",
]
}
Expand All @@ -152,7 +152,6 @@ build {
provisioner "shell" {
inline = [
"sudo safaridriver --enable",
"ln -s '/Volumes/My Shared Files/ssh' ~/.ssh",
]
}
}
1 change: 0 additions & 1 deletion ventura-base.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ build {
provisioner "shell" {
inline = [
"sudo safaridriver --enable",
"ln -s '/Volumes/My Shared Files/ssh' ~/.ssh",
]
}
}

0 comments on commit 47e2833

Please sign in to comment.