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

Question - Compile script to executable #14

Open
avnerbarr opened this issue Jan 26, 2016 · 3 comments
Open

Question - Compile script to executable #14

avnerbarr opened this issue Jan 26, 2016 · 3 comments
Labels

Comments

@avnerbarr
Copy link

Was wondering how I can compile the script to be an executable?

Tried variations on this
swiftc -framework ./Rome/Swiftline.framework Script.swift -o SciptExectutable

@dreymonde
Copy link

Make Executable. Next, we need to make our script executable so that we can call it directly by filename. Simple change the file permissions with: chmod +x /path/to/file/.../SomeCoolScript.swift

From this awesome guide

@avnerbarr
Copy link
Author

I don't want to run it as a script but rather as an actual compiled output.

@Dan2552
Copy link

Dan2552 commented Mar 16, 2016

I definitely wouldn't say it's the best or correct way to do it, but I managed to compile with this Makefile: https://github.com/Dan2552/branch/blob/master/Makefile

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

No branches or pull requests

4 participants