Add badge #1
@@ -4,14 +4,13 @@ steps:
|
||||
commands:
|
||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||
# Lint
|
||||
- nix develop --command dotnet -- tool restore
|
||||
- nix develop --command ./hooks/pre-push
|
||||
- "nix develop --command bash -c 'dotnet tool restore && ./hooks/pre-push'"
|
||||
# Test
|
||||
- nix develop --command dotnet -- test
|
||||
- nix develop --command dotnet -- test --configuration Release
|
||||
# Perform build
|
||||
- "pushd RaftFable && nix develop --command npm -- install && popd"
|
||||
- "pushd RaftFable && nix develop --command npm -- run-script webpack && popd"
|
||||
- "pushd RaftFable && nix develop --command npm -- run-script build && popd"
|
||||
|
||||
when:
|
||||
evaluate: '(CI_PIPELINE_EVENT == "push" && CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH) || (CI_PIPELINE_EVENT == "pull_request")'
|
||||
|
@@ -1,5 +1,8 @@
|
||||
# Raft
|
||||
|
||||
|
||||
[](https://woodpecker.patrickstevens.co.uk/api/badges/patrick/raft-fable/status.svg)
|
||||
|
||||
A Raft implementation in F#.
|
||||
It allows pluggable persistent-store back-ends and communication channels, but out of the box you get an in-memory store and a simulated network.
|
||||
|
||||
|
2377
RaftFable/package-lock.json
generated
2377
RaftFable/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"webpack": "^5.88.2",
|
||||
"webpack-cli": "^3.3.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^4.15.1"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
|
@@ -12,12 +12,12 @@
|
||||
flake-utils,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachSystem [flake-utils.lib.system.aarch64-darwin] (system: let
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShells.default = pkgs.mkShell {
|
||||
buildInputs =
|
||||
[pkgs.alejandra pkgs.nodejs pkgs.dotnet-sdk_6]
|
||||
[pkgs.alejandra pkgs.nodejs pkgs.dotnet-sdk_6 pkgs.python3]
|
||||
++ (
|
||||
if pkgs.stdenv.isDarwin
|
||||
then [pkgs.darwin.apple_sdk.frameworks.CoreServices]
|
||||
|
Reference in New Issue
Block a user