Skip to content

Commit

Permalink
Use static linking.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shogun committed Nov 23, 2016
1 parent df6d074 commit 2797be6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.history
alfred-chrome

src/alfred-chrome/.build
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ require "json"

desc "Build the main executable."
task :build do
# Compile the executable
orig = Dir.pwd
Dir.chdir("src/alfred-chrome/")
system("swift build -c release")
system("swift build -Xswiftc -static-stdlib -c release")
FileUtils.mv(".build/release/alfred-chrome", "../..", verbose: true)
Dir.chdir(orig)
end

desc "Cleans the build directories."
Expand Down

0 comments on commit 2797be6

Please sign in to comment.