mirror of
https://github.com/webui-dev/webui
synced 2025-03-28 21:13:17 +00:00
Rename output dir from build
to dist
This commit is contained in:
parent
9a8081647d
commit
900d9670ca
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
mkdir dist
|
||||
if ('${{ matrix.compiler }}' -eq 'MSVC') {
|
||||
nmake -f Makefile.nmake
|
||||
} else {
|
||||
@ -57,7 +57,7 @@ jobs:
|
||||
- name: Prepare Artifact
|
||||
shell: bash
|
||||
run: |
|
||||
cp -r include build
|
||||
cp -r include dist
|
||||
artifact=${{ runner.os }}-${{ matrix.compiler }}-x64
|
||||
# Add the ARTIFACT name(`,,` ^= lowercase shell param) as GitHub environment variable.
|
||||
echo "ARTIFACT=${artifact,,}" >> $GITHUB_ENV
|
||||
@ -65,7 +65,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.ARTIFACT }}
|
||||
path: build
|
||||
path: dist
|
||||
- name: Release Artifact
|
||||
if: github.ref_type == 'tag'
|
||||
uses: softprops/action-gh-release@v1
|
||||
@ -97,7 +97,7 @@ jobs:
|
||||
make
|
||||
- name: Prepare Artifact
|
||||
run: |
|
||||
cp -r include build
|
||||
cp -r include dist
|
||||
artifact=${{ runner.os }}-${{ matrix.compiler }}-x64
|
||||
# Add the ARTIFACT name(`,,` ^= lowercase shell param) as GitHub environment variable.
|
||||
echo "ARTIFACT=${artifact,,}" >> $GITHUB_ENV
|
||||
@ -105,7 +105,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.ARTIFACT }}
|
||||
path: build
|
||||
path: dist
|
||||
- name: Release Artifact
|
||||
if: github.ref_type == 'tag'
|
||||
uses: softprops/action-gh-release@v1
|
||||
@ -133,7 +133,7 @@ jobs:
|
||||
make
|
||||
- name: Prepare Artifacts
|
||||
run: |
|
||||
cp -r include build
|
||||
cp -r include dist
|
||||
# Add the ARTIFACT name(lowercased) as GitHub environment variable.
|
||||
artifact=$(echo ${{ runner.os }}-${{ matrix.compiler }}-x64 | tr '[:upper:]' '[:lower:]')
|
||||
echo "ARTIFACT=$artifact" >> $GITHUB_ENV
|
||||
@ -141,7 +141,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.ARTIFACT }}
|
||||
path: build
|
||||
path: dist
|
||||
- name: Release Artifact
|
||||
if: github.ref_type == 'tag'
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
2
Makefile
2
Makefile
@ -4,7 +4,7 @@
|
||||
|
||||
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||
MAKEFILE_DIR := $(dir $(MAKEFILE_PATH))
|
||||
BUILD_DIR := $(MAKEFILE_DIR)/build
|
||||
BUILD_DIR := $(MAKEFILE_DIR)/dist
|
||||
|
||||
# Args
|
||||
# Allow to add arch-target for macOS CI cross compilation
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
# Paths
|
||||
MAKEFILE_DIR = ./
|
||||
BUILD_DIR = $(MAKEFILE_DIR)/build
|
||||
BUILD_DIR = $(MAKEFILE_DIR)/dist
|
||||
|
||||
# Build Flags
|
||||
CIVETWEB_BUILD_FLAGS = /Focivetweb.obj /c /EHsc "$(MAKEFILE_DIR)/src/civetweb/civetweb.c" /I "$(MAKEFILE_DIR)/src/civetweb/"
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C++
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Tiny C Compiler
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include/
|
||||
SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C++
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Tiny C Compiler
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include/
|
||||
SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C++
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C++
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C++ Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Tiny C Compiler
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include/
|
||||
SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Tiny C Compiler
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include/
|
||||
SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Tiny C Compiler
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include/
|
||||
SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# Linux - GCC
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - GCC
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Microsoft Visual C
|
||||
|
||||
SHELL=CMD
|
||||
_LIB=../../../../../build
|
||||
_LIB=../../../../../dist
|
||||
_INCLUDE=../../../../../include/
|
||||
_SOURCE=../../
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Windows - Tiny C Compiler
|
||||
|
||||
SHELL=CMD
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include/
|
||||
SOURCE=../../
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
# C99 Example
|
||||
# macOS - Clang
|
||||
|
||||
LIB=../../../../../build
|
||||
LIB=../../../../../dist
|
||||
INCLUDE=../../../../../include
|
||||
SOURCE=../..
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user