File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 6161 extra_nix_config : |
6262 trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
6363 substituters = https://hydra.iohk.io https://iohk.cachix.org https://cache.nixos.org/
64+ extra-experimental-features = nix-command flakes
6465 - uses : cachix/cachix-action@v10
6566 with :
6667 name : mlabs
7576 dist-newstyle
7677 key : ${{ runner.os }}-cabal
7778 - name : Build the full ci derivation
78- run : nix build -L .#check.x86_64-linux --extra-experimental-features nix-command --extra-experimental-features flakes
79+ run : make nix_build
Original file line number Diff line number Diff line change 33# In most cases you should execute Make after entering nix-shell.
44
55.PHONY : hoogle pab_servers_all pab_servers_all pab_db clean_db \
6- build test accept_pirs watch ghci readme_contents \
6+ nix_build build test accept_pirs watch ghci readme_contents \
77 format lint requires_nix_shell
88
99usage :
1616 @echo
1717 @echo " Available commands:"
1818 @echo " hoogle -- Start local hoogle"
19+ @echo " nix_build -- Run nix build -L on all targets"
1920 @echo " build -- Run cabal v2-build"
2021 @echo " watch -- Track files: bot-plutus-interface.cabal, src/* and run 'make build' on change"
2122 @echo " test -- Run cabal v2-test"
@@ -44,6 +45,9 @@ ifdef FLAGS
4445GHC_FLAGS = --ghc-options "$(FLAGS ) "
4546endif
4647
48+ nix_build :
49+ nix build -L .# check.x86_64-linux .#plutus-transfer:exe:plutus-transfer-pab .#plutus-game:exe:plutus-game-pab .#plutus-nft:exe:plutus-nft-pab
50+
4751build : requires_nix_shell
4852 cabal v2-build $(GHC_FLAGS )
4953
Original file line number Diff line number Diff line change 22index-state : 2021-10-20T00:00 :00Z
33
44packages : ./.
5+ ./examples/plutus-game/plutus-game.cabal
6+ ./examples/plutus-transfer/plutus-transfer.cabal
7+ ./examples/plutus-nft/plutus-nft.cabal
58
69-- You never, ever, want this.
710write-ghc-environment-files : never
You can’t perform that action at this time.
0 commit comments