summaryrefslogtreecommitdiff
path: root/web-ui/Makefile
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2014-09-09 14:30:01 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2014-09-09 14:30:01 +0200
commitc48d115f3bf68073302e7b052e114075a124e2f5 (patch)
tree00c9b8930c72583f9b8f8ca0faef44962db46dc3 /web-ui/Makefile
parent04621bb5b1c41b587abf2f4ac85814177dc58928 (diff)
Added Makefile to web-ui.
Diffstat (limited to 'web-ui/Makefile')
-rw-r--r--web-ui/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/web-ui/Makefile b/web-ui/Makefile
new file mode 100644
index 00000000..bb159131
--- /dev/null
+++ b/web-ui/Makefile
@@ -0,0 +1,37 @@
+#
+# Copyright (c) 2014 ThoughtWorks, Inc.
+#
+# Pixelated is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Pixelated is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
+
+DESTDIR=target
+
+compile:
+ bundle install --path=~/pixelated-gems
+ npm install
+ node_modules/bower/bin/bower install
+ ./go package
+
+clean:
+ rm -Rf dist/ $(DESTDIR)/
+
+
+install:
+ install -d $(DESTDIR)/usr/share/pixelated-user-agent
+ cp -r dist/* $(DESTDIR)/usr/share/pixelated-user-agent
+
+
+all: clean compile install
+
+.PHONY: clean compile install all
+