tag-youre-it/build.sh

14 lines
252 B
Bash
Raw Normal View History

Squashed commit of the following: commit 5cce0dbf60781b759f998a01546a759cbdea6bb7 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 12:50:15 2016 +0200 Add comment commit b4e241f9845ff4e5ce3a1f4d295bab714f061ce7 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 12:48:30 2016 +0200 Update how menu is loaded when distributed as a plugin. Seems to load properly now. commit ca28432c4717ebc035c754cca7b5fc691ee269d6 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 12:46:28 2016 +0200 remove uneeded deps from typings commit 3ec733feaf82930d96b2d19d1cd40a95e0c0aab7 Author: Nils Norman Haukås <nils@thunki.com> Date: Sat Jun 25 11:40:02 2016 +0200 removed gulp dependencies commit 5a21e118a59c184f52c971fa2a9f023676372867 Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 22 23:15:36 2016 +0200 added clean and build scripts to package.json which builds a dist folder commit e755176a13005fc907617148c418dec793bc4c4a Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 22 21:13:51 2016 +0200 Added 'npm run server', which will fire up a test page that runs the existing plugin code. commit 4fccd07c2ed9308c42d97f47837464a180e40f8d Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 22 20:08:14 2016 +0200 delete files that are no longer needed. Add comments to explain styling setup. commit 227163df0834eb9b2d57270f2460263837a14212 Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 15 00:34:37 2016 +0200 got test setup up and running. Fixed uuid and rangy import statements. commit 41b73d35f6e8b12ab04fb04f312e524443689554 Author: Nils Norman Haukås <nils@thunki.com> Date: Wed Jun 8 23:03:32 2016 +0200 kinda working. Still working on starting the application in test mode. commit cd929b0acd71c486dd7a0ca0b18723f98faa401f Author: Nils Norman Haukås <nils@thunki.com> Date: Sun May 29 22:44:45 2016 +0200 added pageRebuilder for preparin the page when app is used as a chrome plugin. Still not quite working yet. commit 722759ae5f5c93fea08570ad14155d741e8f8b63 Author: Nils Norman Haukås <nils@thunki.com> Date: Sun May 22 01:23:52 2016 +0200 Managed to add a basic jspm setup. commit 7b99c2ed8647f54b8d77d69d37d5f6d05b7f63cc Author: Nils Norman Haukås <nils@thunki.com> Date: Sat May 21 13:13:10 2016 +0200 Lots of rearranging code. Split up gulpfile for clarity. Updated typescript and gulp dependencies.
2016-06-25 20:16:17 +02:00
#!/bin/sh
#bundle all javascript, including deps
jspm bundle-sfx src/app/main.ts dist/app.js
#copy styles
cp -v src/app/style.css dist/
#copy html menu
cp -v src/app/menu/menu.tpl.html dist/
#copy plugin specifics
cp -v src/plugin-specific/* dist/