Whitespace
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/all-checks-complete Pipeline was successful
ci/woodpecker/pr/all-checks-complete Pipeline was successful

This commit is contained in:
Smaug123
2023-08-26 13:28:37 +01:00
parent 142b99bfcc
commit 9cac2954d9

View File

@@ -1,16 +1,16 @@
steps: steps:
build: build:
image: nixos/nix image: nixos/nix
commands: commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
# Lint # Lint
- "nix develop --command bash -c 'dotnet tool restore && ./hooks/pre-push'" - "nix develop --command bash -c 'dotnet tool restore && ./hooks/pre-push'"
# Test # Test
- nix develop --command dotnet -- test - nix develop --command dotnet -- test
- nix develop --command dotnet -- test --configuration Release - nix develop --command dotnet -- test --configuration Release
# Perform build # Perform build
- "pushd RaftFable && nix develop --command npm -- install && popd" - "pushd RaftFable && nix develop --command npm -- install && popd"
- "pushd RaftFable && nix develop --command npm -- run-script build && popd" - "pushd RaftFable && nix develop --command npm -- run-script build && popd"
when: when:
- event: "push" - event: "push"