-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
38 lines (31 loc) · 925 Bytes
/
Makefile
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
28
29
30
31
32
33
34
35
36
37
38
# Makefile
# Install Homebrew
install-brew:
/bin/bash -c "$$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install NVM
install-nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
# Install NPM dependencies
npm-install:
npm install
# Clean the project
clean:
rm -rf node_modules
rm -rf tests/har
rm -rf playwright-report
rm -rf test-results
# Checkout openmct on specified branches
# Checkout openmct on specified branches and set up the project
checkout-openmct:
git clone https://github.com/nasa/openmct.git openmct
cd openmct && git checkout master && git pull origin master
cd ..
start-openmct:
cd openmct && nvm use && npm install && npm start &
# Install k6 via Homebrew if macOS
install-k6:
@if [ "$$(uname)" = "Darwin" ]; then \
brew install k6; \
else \
echo "k6 installation is only supported via Homebrew on macOS."; \
fi