diff --git a/Makefile b/Makefile index 6048913..53da508 100644 --- a/Makefile +++ b/Makefile @@ -70,4 +70,11 @@ multiplatform_demo: fmt frontend ## build executable for multiple platforms fix_optimization_error: ## angular needs newer version of terser to optimize typescript 4.4 or later (static initiallization blocks) rm -rf ../rdm-integration-frontend/node_modules/@angular-devkit/build-angular/node_modules/terser - cp -r ../rdm-integration-frontend/node_modules/terser ../rdm-integration-frontend/node_modules/@angular-devkit/build-angular/node_modules/terser \ No newline at end of file + cp -r ../rdm-integration-frontend/node_modules/terser ../rdm-integration-frontend/node_modules/@angular-devkit/build-angular/node_modules/terser + +multiplatform_kul: fmt frontend ## build KUL executable for multiple platforms + cp -r conf/kul_customizations/* image/app/frontend/dist/datasync/ + cd image && env GOOS=windows GOARCH=amd64 go build -ldflags '-s -w -X main.DataverseServer=https://rdr.kuleuven.be -X "main.DataverseServerName=KU Leuven RDR" -X "main.RootDataverseId=rdr"' -v -o kul_windows.exe ./app/local/ + cd image && env GOOS=linux GOARCH=amd64 go build -ldflags '-s -w -X main.DataverseServer=https://rdr.kuleuven.be -X "main.DataverseServerName=KU Leuven RDR" -X "main.RootDataverseId=rdr"' -v -o kul_linux.bin ./app/local/ + cd image && env GOOS=darwin GOARCH=amd64 go build -ldflags '-s -w -X main.DataverseServer=https://rdr.kuleuven.be -X "main.DataverseServerName=KU Leuven RDR" -X "main.RootDataverseId=rdr"' -v -o kul_darwin_amd64.bin ./app/local/ + cd image && env GOOS=darwin GOARCH=arm64 go build -ldflags '-s -w -X main.DataverseServer=https://rdr.kuleuven.be -X "main.DataverseServerName=KU Leuven RDR" -X "main.RootDataverseId=rdr"' -v -o kul_darwin_arm64.bin ./app/local/ \ No newline at end of file diff --git a/conf/kul_customizations/assets/html/header.html b/conf/kul_customizations/assets/html/header.html new file mode 100644 index 0000000..57b7825 --- /dev/null +++ b/conf/kul_customizations/assets/html/header.html @@ -0,0 +1,18 @@ + +