diff --git a/.gitignore b/.gitignore index a57249c37..bc90dd5a6 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ bin/cam* bin/devcam bin/*_* bin/hello +bin/publisher tmp server/camlistored/newui/all.js server/camlistored/newui/all.js.map diff --git a/app/publisher/fileembed.go b/app/publisher/fileembed.go new file mode 100644 index 000000000..6faf20ccf --- /dev/null +++ b/app/publisher/fileembed.go @@ -0,0 +1,28 @@ +/* +Copyright 2014 The Camlistore Authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +/* +#fileembed pattern .+\.(js|css|html|png|svg)$ +*/ +package main + +import ( + "camlistore.org/pkg/fileembed" +) + +// TODO(mpl): appengine case + +var Files = &fileembed.Files{} diff --git a/server/camlistored/ui/gallery.html b/app/publisher/gallery.html similarity index 83% rename from server/camlistored/ui/gallery.html rename to app/publisher/gallery.html index 85dbab549..90a54baa0 100644 --- a/server/camlistored/ui/gallery.html +++ b/app/publisher/gallery.html @@ -3,12 +3,6 @@ {{if $header := call .Header}}