Skip to content

Commit 0ceccff

Browse files
committed
add message emojis
1 parent 637f0fc commit 0ceccff

File tree

2 files changed

+30
-28
lines changed

2 files changed

+30
-28
lines changed

Makefile

+11-11
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,35 @@ install_deps:
1919
if [[ "$(shell uname)" == "Darwin" ]]; then cd ./lib/macos_amd64 && ./install_deps && cd .. ; else cd ./lib/linux_x86_64 && ./install_deps && cd ..; fi
2020

2121
build:
22-
echo "Initiating gitconvex build"
23-
echo "Cleaning up old directories"
22+
echo "⚒️ Initiating gitconvex build"
23+
echo "🗑️ Cleaning up old directories"
2424
rm -rf ui/ dist/ build/
25-
echo "Cloning gitconvex react repo"
26-
git clone https://github.com/neel1996/gitconvex-ui.git ui/ && \
25+
echo "Cloning gitconvex react repo"
26+
git clone -q https://github.com/neel1996/gitconvex-ui.git ui/ && \
2727
cd ui && \
28-
echo "Installing UI dependencies..." && \
29-
npm install && \
28+
echo "Installing UI dependencies..." && \
29+
npm install --silent && \
3030
export NODE_ENV=production && \
31-
echo "Generating production ready css" && \
3231
npm install tailwindcss postcss autoprefixer && \
3332
npx tailwindcss build -o ./src/index.css -c ./src/tailwind.config.js && \
3433
rm package-*.json && \
3534
rm -rf .git/ && \
36-
echo "Building react UI bundle" && \
35+
echo "🔧 Building react UI bundle" && \
3736
npm run build && \
3837
mv ./build ../ && \
3938
cd .. && \
4039
mkdir -p ./dist && \
4140
mv build/ ./dist/ && \
4241
mv ./dist/build ./dist/gitconvex-ui
43-
echo "Building final go source with UI bundle" && \
42+
echo "🚀 Building final go source with UI bundle" && \
4443
go build -v -a -o ./dist && \
4544
echo "Gitconvex build completed!" && \
4645
mv ./dist/gitconvex-server ./dist/gitconvex
4746
echo "Installing libs"
4847
$(MAKE) install_deps
49-
echo "Use ./dist/gitconvex to start Gitconvex on port 9001"
50-
echo "Try ./dist/gitconvex --port PORT_NUMBER to run gitconvex on the desired port"
48+
echo "✅ Gitconvex Build Completed successfully!"
49+
echo "📬 Use ./dist/gitconvex to start Gitconvex on port 9001"
50+
echo "📬 Try ./dist/gitconvex --port PORT_NUMBER to run gitconvex on the desired port"
5151
test:
5252
go test -tags static -v ./...
5353
start:

make.bat

+19-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@echo off
1+
@ECHO off
22
set ip=%1
33

44
set INSTALL="install"
@@ -13,39 +13,41 @@ if "%ip%"==%INSTALL% (
1313
)
1414

1515
if "%ip%"==%BUILD% (
16-
echo "Initiating gitconvex build for windows"
17-
echo "Cleaning up unwanted folders"
16+
echo Initiating gitconvex build for windows
17+
echo 🗑 Cleaning up unwanted folders
1818
rd /s /q ui
1919
rd /s /q dist
2020
rd /s /q build
21-
echo "Cloning UI package from github gitconvex-ui/master"
22-
git clone https://github.com/neel1996/gitconvex-ui.git ui/
21+
echo Cloning UI package from github gitconvex-ui/master
22+
git clone -q https://github.com/neel1996/gitconvex-ui.git ui/
2323
cd ui
24-
echo "Installing UI dependencies"
24+
echo Installing UI dependencies
2525
del package-lock.json
26-
npm install
27-
echo "Building UI bundle"
26+
npm install --silent
27+
echo Building UI bundle
2828
set NODE_ENV=production
2929
npm install tailwindcss postcss autoprefixer
3030
npx tailwindcss build -o src/index.css -c src/tailwind.config.js
3131
npm run build
32-
echo "Moving react bundle to gitconvex-ui"
32+
echo 🔹 Moving react bundle to gitconvex-ui
3333
move .\build gitconvex-ui
3434
move .\gitconvex-ui ..\
3535
cd ..
3636
mkdir .\dist
37-
echo "Moving UI artifacts to dist folder"
37+
echo 🔹 Moving UI artifacts to dist folder
3838
move .\gitconvex-ui .\dist\
39-
echo "Moving etc content to dist"
40-
move .\etc .\dist\
41-
echo "Removing intermediary folder ui/"
39+
echo 🔹 Copying etc content to dist
40+
xcopy /E /I .\etc\ .\dist\etc\
41+
copy .\etc\git2.dll .\dist\
42+
echo 🔸 Removing intermediary folder ui/
4243
rd /s /q ui
43-
echo "Building gitconvex bundle"
44-
go build -a -o ./dist
44+
echo 🚀 Building gitconvex bundle
45+
go build -o ./dist/gitconvex.exe
4546
cd .\dist
4647
rename gitconvex-server.exe gitconvex.exe
47-
echo "Run ./dist/gitconvex.exe to start gitconvex on port 9001"
48-
echo "Try ./dist/gitconvex.exe --port PORT_NUMBER to run gitconvex on the desired port"
48+
echo ✅ Gitconvex Build Completed successfully!
49+
echo 📬 Run ./dist/gitconvex.exe to start gitconvex on port 9001
50+
echo 📬 Try ./dist/gitconvex.exe --port PORT_NUMBER to run gitconvex on the desired port
4951
cd ..
5052
)
5153

0 commit comments

Comments
 (0)