diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d1f81e95c..b6a820ac4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,6 +94,14 @@ frontend build: retry: 2 interruptible: true +backend lint: + stage: lint + script: + - "nix shell .#gnumake --command make backend-lint" + before_script: *nix-before + retry: 2 + interruptible: true + uniworx:lib:uniworx: stage: build script: diff --git a/Makefile b/Makefile index 0e13800e0..c41911963 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,8 @@ backend-%: .develop.env .stack-work.lock --stack-work-$* #--backend-start: .develop.env # ./start.sh -.PHONY: --backend-lint ---backend-lint: .develop.env +.PHONY: backend-lint +backend-lint: .develop.env stack build --test --fast --flag uniworx:dev --flag uniworx:library-only uniworx:test:hlint .PHONY: --backend-test