Skip to content

Commit

Permalink
add cordova and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBezuska authored and ericlathrop committed Sep 29, 2016
1 parent b8ec7a6 commit a598b68
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions cordova-android.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
cordova create cordova com.splatjs.splatEcsStarterProject
cd cordova
cordova platform add android --save
cd ..
npm run build
cd cordova
cp -R ../build/html/* www
cordova build
9 changes: 9 additions & 0 deletions cordova-ios.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
cordova create cordova com.splatjs.splatEcsStarterProject
cd cordova
cordova platform add ios --save
cd ..
npm run build
cd cordova
cp -R ../build/html/* www
cordova build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"homepage": "https://github.com/SplatJS/splat-ecs-starter-project",
"devDependencies": {
"cordova": "^6.3.1",
"electron-packager": "^5.2.1",
"eslint": "^1.10.1",
"eslint-loader": "^1.1.1",
Expand All @@ -38,7 +39,6 @@
},
"dependencies": {
"easing-js": "^1.0.1",
"soundfont-player": "^0.10.1",
"splat-ecs": "git+https://github.com/SplatJS/splat-ecs.git#more-perf"
}
}

0 comments on commit a598b68

Please sign in to comment.