From a5fc32fced982a920f6c484884873abb3ee2c2ed Mon Sep 17 00:00:00 2001 From: Syrus Date: Thu, 11 Apr 2019 15:33:02 -0700 Subject: [PATCH] Add production-release to Makefile --- .circleci/config.yml | 4 ++-- Makefile | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 67309e90320..80567702794 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -169,7 +169,7 @@ jobs: name: Release Build command: | export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/" - make release + make production-release mkdir -p artifacts VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2) # GIT_VERSION=$(git describe --exact-match --tags) @@ -249,7 +249,7 @@ jobs: export PATH="`pwd`/cmake-3.4.1-Darwin-x86_64/CMake.app/Contents/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH" export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/" - make release + make production-release mkdir -p artifacts # VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2) # echo "${VERSION}" >> artifacts/version diff --git a/Makefile b/Makefile index 2b87dd7e7de..76cbc60430e 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,9 @@ release: # brew install mingw-w64 cargo build --release +production-release: + cargo build --release --features backend:singlepass,backend:llvm + debug-release: cargo build --release --features "debug"