Skip to content

Commit

Permalink
add rsync binary
Browse files Browse the repository at this point in the history
  • Loading branch information
fuji246 committed Jul 21, 2019
1 parent 0b8e4c9 commit 95d28f2
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions LomoAgent.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
3A8BEF0A22E419BB00DAE39C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 3A8BEF0C22E419BB00DAE39C /* Localizable.strings */; };
3A8BEF0F22E419F500DAE39C /* Localizable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A8BEF0E22E419F500DAE39C /* Localizable.swift */; };
3A8BEF1122E4BA0B00DAE39C /* LomodService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A8BEF1022E4BA0B00DAE39C /* LomodService.swift */; };
3A8BEF1322E4D67D00DAE39C /* rsync in CopyFiles */ = {isa = PBXBuildFile; fileRef = 3A8BEF1222E4D67D00DAE39C /* rsync */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
3A94CC2E22E407A9002207D5 /* utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A94CC2D22E407A9002207D5 /* utils.swift */; };
3AC3E846229F9B60004EA1D7 /* HyperlinkTextField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AC3E845229F9B60004EA1D7 /* HyperlinkTextField.swift */; };
/* End PBXBuildFile section */
Expand All @@ -34,6 +35,7 @@
dstPath = "";
dstSubfolderSpec = 6;
files = (
3A8BEF1322E4D67D00DAE39C /* rsync in CopyFiles */,
3A35C5D92240B5F30030FF1B /* avconv in CopyFiles */,
3A35C5DA2240B5F30030FF1B /* lomod in CopyFiles */,
);
Expand Down Expand Up @@ -80,6 +82,7 @@
3A8BEF0D22E419BD00DAE39C /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = "<group>"; };
3A8BEF0E22E419F500DAE39C /* Localizable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Localizable.swift; sourceTree = "<group>"; };
3A8BEF1022E4BA0B00DAE39C /* LomodService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LomodService.swift; sourceTree = "<group>"; };
3A8BEF1222E4D67D00DAE39C /* rsync */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = rsync; path = dependencies/lomod/Contents/MacOS/rsync; sourceTree = "<group>"; };
3A94CC2D22E407A9002207D5 /* utils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = utils.swift; sourceTree = "<group>"; };
3AC3E845229F9B60004EA1D7 /* HyperlinkTextField.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HyperlinkTextField.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down Expand Up @@ -125,6 +128,7 @@
3A3896EF222F77FA004A2001 = {
isa = PBXGroup;
children = (
3A8BEF1222E4D67D00DAE39C /* rsync */,
3A35C5B52240A01D0030FF1B /* dependencies */,
3A3896FA222F77FA004A2001 /* LomoAgent */,
3A3896F9222F77FA004A2001 /* Products */,
Expand Down
4 changes: 2 additions & 2 deletions LomoAgent/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>6bf9be6</string>
<string>0b8e4c9</string>
<key>CFBundleVersion</key>
<string>2019_07_21.10_12_05.0.6bf9be6</string>
<string>2019_07_21.10_21_21.0.0b8e4c9</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSUIElement</key>
Expand Down
2 changes: 2 additions & 0 deletions dependencies/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

AVCONV_PATH=/usr/local/bin/avconv
LOMOD_PATH=/Users/jeromy/.go/src/bitbucket.org/lomoware/lomo-backend/cmd/lomod/lomod
RSYNC_PATH=/Users/jeromy/work/playground/rsync-3.1.3/rsync

FRAMEWORKS_DIR=lomod/Contents/Frameworks
BINARY_DIR=lomod/Contents/MacOS
Expand All @@ -16,6 +17,7 @@ rm -rf $BINARY_DIR/*

cp $AVCONV_PATH $BINARY_DIR
cp $LOMOD_PATH $BINARY_DIR
cp $RSYNC_PATH $BINARY_DIR

cd $BINARY_DIR
python ../../../matryoshka_name_tool.py -L /usr/local/ -d ../Frameworks/lomod/ lomod
Expand Down
Binary file modified dependencies/lomod/Contents/MacOS/lomod
Binary file not shown.
Binary file added dependencies/lomod/Contents/MacOS/rsync
Binary file not shown.

0 comments on commit 95d28f2

Please sign in to comment.