-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from KennyOliver/issue-154
Issue 154
- Loading branch information
Showing
3 changed files
with
48 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Exit immediately if a command exits with a non-zero status | ||
set -e | ||
|
||
# Rename file to flavorlang | ||
echo "Renaming flavorlang-macos-latest to flavorlang" | ||
mv flavorlang-macos-latest flavorlang | ||
|
||
# Set execute permissions | ||
chmod +x flavorlang-macos-latest | ||
chmod +x flavorlang | ||
|
||
# Move to /usr/local/bin for easier access | ||
sudo mv flavorlang-macos-latest /usr/local/bin/ | ||
echo "Moving flavorlang to /usr/local/bin/" | ||
sudo mv flavorlang /usr/local/bin/ | ||
|
||
# Run the executable | ||
flavorlang-macos-latest --about | ||
echo "Running FlavorLang interpreter..." | ||
flavorlang --about |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
#!/bin/bash | ||
|
||
# Exit immediately if a command exits with a non-zero status | ||
set -e | ||
|
||
# Rename file to flavorlang | ||
echo "Renaming flavorlang-ubuntu-latest to flavorlang" | ||
mv flavorlang-ubuntu-latest flavorlang | ||
|
||
# Set execute permissions | ||
chmod +x flavorlang-ubuntu-latest | ||
chmod +x flavorlang | ||
|
||
# Move to /usr/local/bin for easier access | ||
sudo mv flavorlang-ubuntu-latest /usr/local/bin/ | ||
echo "Moving flavorlang to /usr/local/bin/" | ||
sudo mv flavorlang /usr/local/bin/ | ||
|
||
# Run the executable | ||
flavorlang-ubuntu-latest --about | ||
echo "Running FlavorLang interpreter..." | ||
flavorlang --about |