wire-it-up.sh 1.0 KB

1234567891011121314151617181920212223242526
  1. #!/bin/bash
  2. # ---------- ---------- ---------- ---------- ---------- ----------
  3. #NOTE: Copy:
  4. # - assets
  5. # - manifest
  6. # - java
  7. # - layouts
  8. # - menus
  9. # Remove default:
  10. # - layouts
  11. # ---------- ---------- ---------- ---------- ---------- ----------
  12. echo wiring...
  13. cp -R ./content/assets ./output/hundreds/assets
  14. cp ./content/AndroidManifest.xml ./output/hundreds/AndroidManifest.xml
  15. cp ./content/java/HundredsSandbox.java ./output/hundreds/src/community/peers/hundreds/HundredsSandbox.java
  16. cp ./content/java/HundredsServer.java ./output/hundreds/src/community/peers/hundreds/HundredsServer.java
  17. cp ./content/java/MainActivity.java ./output/hundreds/src/community/peers/hundreds/MainActivity.java
  18. cp ./content/res/values/strings.xml ./output/hundreds/res/values/strings.xml
  19. cp ./content/res/layout/activity_main.xml ./output/hundreds/res/layout/activity_main.xml
  20. rm ./output/hundreds/res/layout/main.xml
  21. cp -R ./content/res/menu ./output/hundreds/res/menu