Skip to content
Snippets Groups Projects
Commit f46139c8 authored by Florent Gluck's avatar Florent Gluck
Browse files

Fixed bin removal in Makefile

Fixed nexusclient mod version
parent fc53ae2d
No related branches found
No related tags found
No related merge requests found
......@@ -86,8 +86,8 @@ build_srv: $(BUILD_DIR) server tools/genpwd
clean_srv:
@echo "[Cleaning nexus-server]"
@rm -f $(BUILD_DIR)/$(SERVER_BINARY)
@rm -f $(BUILD_DIR)/$(GENPWD_BINARY)
@/bin/rm -f $(BUILD_DIR)/$(SERVER_BINARY)
@/bin/rm -f $(BUILD_DIR)/$(GENPWD_BINARY)
@cd server && go clean .
@echo "OK"
@echo "Cleaning genpwd"
......@@ -101,7 +101,7 @@ create_certs:
remove_files_srv:
@echo "Removing nexus-server files in $(SERVER_BASEDIR)"
@rm -rf $(SERVER_BASEDIR)
@/bin/rm -rf $(SERVER_BASEDIR)
@echo "OK"
create_files_srv:
......@@ -202,10 +202,10 @@ remove_service_srv:
@systemctl stop nexus-server.service
@echo "OK"
@echo "Removing nexus-server service file"
@rm /etc/systemd/system/nexus-server.service
@/bin/rm -f /etc/systemd/system/nexus-server.service
@echo "OK"
@echo "Removing nexus-server crond task"
@rm /etc/cron.d/nexus-server
@/bin/rm -f /etc/cron.d/nexus-server
@echo "OK"
set_permissions_srv:
......@@ -328,13 +328,13 @@ build_nexus-exam: check_server_var check_nexus_exam_vars copy_resources_client $
@cd $(SRC_CLIENT)/nexus-exam && go build $(BUILD_FLAGS) $(BUILD_CLIENT_FLAGS) && mv $(NEXUS_EXAM_BINARY) $(BUILD_DIR_ABS)
@strip -s $(BUILD_DIR)/$(NEXUS_EXAM_BINARY)
# @upx -q $(BUILD_DIR)/$(NEXUS_EXAM_BINARY)
@rm $(NEXUS_EXAM_USER_CREDS_FILE) $(NEXUS_EXAM_PWD_CREDS_FILE)
@/bin/rm -f $(NEXUS_EXAM_USER_CREDS_FILE) $(NEXUS_EXAM_PWD_CREDS_FILE)
clean_clients:
@for arch in $(ARCHES_CLIENT); do \
/bin/rm -rf $(BUILD_DIR)/$$arch ;\
done
@rm $(BUILD_DIR)/$(NEXUSH_BINARY) $(BUILD_DIR)/$(NEXUSCLI_BINARY) $(BUILD_DIR)/$(NEXUS_EXAM_BINARY)
@/bin/rm -f $(BUILD_DIR)/$(NEXUSH_BINARY) $(BUILD_DIR)/$(NEXUSCLI_BINARY) $(BUILD_DIR)/$(NEXUS_EXAM_BINARY)
run_nexush: check_login_var $(BUILD_DIR)/$(NEXUSH_BINARY)
$< $(LOGIN)
......
......@@ -2,6 +2,55 @@ module gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/client
go 1.22.2
require gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/libclient v0.0.0-20250320135605-9ac7ec3df57a // indirect
require (
fyne.io/fyne/v2 v2.5.5
gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/common v0.0.0-20250320135605-9ac7ec3df57a
gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/libclient v0.0.0-20250320135605-9ac7ec3df57a
github.com/go-pdf/fpdf v0.9.0
github.com/google/uuid v1.6.0
github.com/peterh/liner v1.2.2
golang.org/x/crypto v0.32.0
golang.org/x/term v0.28.0
)
replace gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/libclient/nexusclient => gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/libclient/nexusclient stateless_client
\ No newline at end of file
require (
fyne.io/systray v1.11.0 // indirect
github.com/BurntSushi/toml v1.4.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fredbi/uri v1.1.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fyne-io/gl-js v0.0.0-20220119005834-d2da28d9ccfe // indirect
github.com/fyne-io/glfw-js v0.0.0-20241126112943-313d8a0fe1d0 // indirect
github.com/fyne-io/image v0.0.0-20220602074514-4956b0afb3d2 // indirect
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.25.0 // indirect
github.com/go-resty/resty/v2 v2.16.5 // indirect
github.com/go-text/render v0.2.0 // indirect
github.com/go-text/typesetting v0.2.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/jeandeaual/go-locale v0.0.0-20240223122105-ce5225dcaa49 // indirect
github.com/jsummers/gobmp v0.0.0-20151104160322-e2ba15ffa76e // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/mattn/go-runewidth v0.0.3 // indirect
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect
github.com/nicksnyder/go-i18n/v2 v2.4.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rymdport/portal v0.3.0 // indirect
github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect
github.com/stretchr/testify v1.8.4 // indirect
github.com/yuin/goldmark v1.7.1 // indirect
golang.org/x/image v0.18.0 // indirect
golang.org/x/mobile v0.0.0-20231127183840-76ac6878050a // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/text v0.21.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
replace gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/libclient => gitedu.hesge.ch/flg_projects/nexus_vdi/nexus/libclient v0.0.0-20250325115531-fc53ae2d0c18
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment