Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linux install script #408

Closed
wants to merge 4 commits into from

Conversation

shial4
Copy link

@shial4 shial4 commented Sep 15, 2023

1. Add linux install bash script
2. Update readme

This Bash script automates the installation and update process for the "Carton" tool.

  1. Defines the destination directory for the Carton binary.
  2. Checks if the 'swift' command is available, and if not, installs Swift.
  3. Clones the Carton repository from GitHub.
  4. Determines the latest release tag and checks out that release.
  5. Installs necessary dependencies for Carton on an Ubuntu system.
  6. Builds the Carton tool in release mode.
  7. If the build is successful, it updates the Carton binary in the specified destination directory.
  8. Cleans up temporary files and the cloned repository, regardless of success or failure.

Overall, this script ensures that Carton is installed or updated to the latest release on your system, making it ready for use in Swift WebAssembly development.

@MaxDesiatov MaxDesiatov removed their request for review September 15, 2023 09:23
@kateinoigakukun
Copy link
Member

Because carton is going to be a SwiftPM Plugin, custom CLI installation is no longer needed. Sorry for leaving it for a long time, and thank you for trying to solve the issue 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants