aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nomad/static-assets.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nomad/static-assets.patch')
-rw-r--r--testing/nomad/static-assets.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/nomad/static-assets.patch b/testing/nomad/static-assets.patch
new file mode 100644
index 0000000000..8068ece4ee
--- /dev/null
+++ b/testing/nomad/static-assets.patch
@@ -0,0 +1,15 @@
+This patch removes the custom output name option that is handled properly only
+in the master branch of go-bindata-assetfs (see https://github.com/elazarl/go-bindata-assetfs/pull/32)
+diff --git a/GNUmakefile b/GNUmakefile
+index 2168ed8de..76bb2c3cd 100644
+--- a/GNUmakefile
++++ b/GNUmakefile
+@@ -317,7 +317,7 @@ testcluster: ## Bring up a Linux test cluster using Vagrant. Set PROVIDER if nec
+ .PHONY: static-assets
+ static-assets: ## Compile the static routes to serve alongside the API
+ @echo "--> Generating static assets"
+- @go-bindata-assetfs -pkg agent -prefix ui -modtime 1480000000 -tags ui -o bindata_assetfs.go ./ui/dist/...
++ @go-bindata-assetfs -pkg agent -prefix ui -modtime 1480000000 -tags ui ./ui/dist/...
+ @mv bindata_assetfs.go command/agent
+
+ .PHONY: test-website