Skip to content

Commit 1a40258

Browse files
committed
build script and travis
1 parent cd5ebda commit 1a40258

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ os: osx
22
language: objective-c
33
osx_image: xcode9
44
node_js: 8.6.0
5-
5+
before_script: npm install -g pkg
6+
script: xcodebuild

nonky.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@
321321
);
322322
runOnlyForDeploymentPostprocessing = 0;
323323
shellPath = /bin/sh;
324-
shellScript = "echo \"npm installing...\"\ncd nonkyserver\nnpm install\necho \"replacing the missbehaving nowplaying lib..\"\ncp node_modules/nowplaying/index.js node_modules/nowplaying/tmp.js\nsed -e \"s~__dirname~process.env.HOME+'/Library/Application Support/nonky/public'~\" < node_modules/nowplaying/tmp.js > node_modules/nowplaying/index.js\nrm node_modules/nowplaying/tmp.js\necho \"copy the native smc to the project folder\"\ncp node_modules/smc/build/Release/smc.node ../nonky\necho \"pkging node server..\"\npkg app.js";
324+
shellScript = "echo \"npm installing...\"\ncd nonkyserver\nnpm install\necho \"node pkg installing...\"\nnpm install -g pkg\necho \"replacing the missbehaving nowplaying lib..\"\ncp node_modules/nowplaying/index.js node_modules/nowplaying/tmp.js\nsed -e \"s~__dirname~process.env.HOME+'/Library/Application Support/nonky/public'~\" < node_modules/nowplaying/tmp.js > node_modules/nowplaying/index.js\nrm node_modules/nowplaying/tmp.js\necho \"copy the native smc to the project folder\"\ncp node_modules/smc/build/Release/smc.node ../nonky\necho \"pkging node server..\"\npkg app.js";
325325
};
326326
/* End PBXShellScriptBuildPhase section */
327327

nonkyserver/package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)