-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmakefile
More file actions
27 lines (21 loc) · 732 Bytes
/
makefile
File metadata and controls
27 lines (21 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SHELL := /bin/bash
add-plutus-apps-repo:
if [ ! -d "plutus-apps" ]; then \
git submodule add https://github.com/input-output-hk/plutus-apps.git; \
fi
add-ppp-repo: add-plutus-apps-repo
if [ ! -d "plutus-pioneer-program" ]; then \
git submodule add https://github.com/input-output-hk/plutus-pioneer-program.git; \
fi
install-nix:
if [ ! -d "/nix" ]; then \
bash <(curl -L https://nixos.org/nix/install) --no-daemon; \
fi
update-bashrc: install-nix
cat utils.sh >> $$HOME/.bashrc
run-post-create-command: add-ppp-repo update-bashrc
sudo chown -R `whoami` $$HOME/.cabal && \
cabal update && \
# sudo chown -R `whoami` /nix && \
git submodule update --init --recursive
git submodule foreach git pull origin main