This repository was archived by the owner on Sep 30, 2023. It is now read-only.
Commit a8ff1a3 1 parent 5fba0db commit a8ff1a3 Copy full SHA for a8ff1a3
File tree 2 files changed +30
-0
lines changed
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
## Install
11
11
12
+ ### Windows
12
13
1 . You should have git and Visual Studio or MSBuild Tools installed
13
14
2 . Download zip from https://github.com/skbkontur/cement/releases/latest
14
15
3 . Unzip and run ` dotnet\install.cmd `
15
16
4 . Restart terminal
16
17
5 . Command ` cm ` shows you available commands in any directory
17
18
19
+ ### macOS
20
+ 1 . You should have git and mono (5 or above) installed
21
+ 2 . Download zip from https://github.com/skbkontur/cement/releases/latest
22
+ 3 . Unzip and run ` ./install.sh ` from the dotnet directory
23
+ 4 . Either add ` ~/bin/ ` to your ` PATH ` variable or run ` alias cm='mono ~/bin/dotnet/cm.exe' `
24
+ 5 . Run ` cm ` to see the list of commands
25
+
26
+ ### Linux
27
+ Here is a Dockerfile example of how to get Ubuntu image with cement installed
28
+ ``` Dockerfile
29
+ FROM ubuntu
30
+ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
31
+ RUN echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | tee /etc/apt/sources.list.d/mono-official.list
32
+ RUN apt-get update
33
+ RUN apt-get install -y mono-devel git wget
34
+ RUN cd ~
35
+ RUN git clone https://github.com/skbkontur/cement.git ~/cement
36
+ RUN wget -O ~/cement/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
37
+ RUN mkdir ~/bin
38
+ RUN cd ~/cement && mono nuget.exe restore -OutputDir packages/ && msbuild /p:Configuration=Release
39
+ RUN mono ~/bin/dotnet/cm.exe reinstall
40
+ ```
41
+
18
42
## Work with cement
19
43
20
44
Use ` cm help ` to view [ all cement commands] ( README-commands.md#commands ) .
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ rm -rf ~ /.cement
4
+ rm -rf ~ /bin/dotnet
5
+ cp -R ../dotnet ~ /bin/dotnet
6
+ mono cm.exe reinstall
You can’t perform that action at this time.
0 commit comments