-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildfile
29 lines (23 loc) · 931 Bytes
/
Buildfile
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
local.install:
sudo apt-get -y install build-essential
sudo apt-get -y install cmake
sudo apt-get -y install libcurl4-openssl-dev
sudo apt-get -y install libedit-dev
local.build:
cmake src/.
make Connery
local.clean:
make clean || true
rm cmake_install.cmake || true
rm CMakeCache.txt || true
rm -r CMakeFiles || true
rm -r stdlib || true
rm Makefile || true
local.run:
./Connery || cmake src/. && make Connery && ./Connery || sudo apt-get -y install build-essential; sudo apt-get -y install cmake; sudo apt-get -y install libcurl4-openssl-dev; sudo apt-get -y install libedit-dev; cmake src/. && make Connery && ./Connery || echo "There is nothing like a challenge to bring out the best in man."
docker.build:
docker build --tag connerylang .
docker.clean:
docker rmi connerylang --force
docker.run:
docker run -it connerylang || docker build --tag connerylang . && docker run -it connerylang