build-automation

Release signing in gradle.properties for Android

落爺英雄遲暮 提交于 2019-12-03 03:15:41
问题 So I'm trying to convert all of my ant build scripts to gradle, and I've been able to find ample resources and documentation on all of it except how to configure signing in the gradle.properties file. ant.properties does it like so: key.alias=alias key.store.password=password key.store=keystore.file key.alias.password=password But how do I do the same in gradle? 回答1: In your gradle.properties file store the same values as in the ant.properties file, I think you'll have to do simpler names,

Make/makefile progress indication!

。_饼干妹妹 提交于 2019-12-03 02:44:04
问题 Look at this makefile, it has some sort of primitive progress indication (could have been a progress bar). Please give me suggestions/comments on it! # BUILD is initially undefined ifndef BUILD # max equals 256 x's sixteen := x x x x x x x x x x x x x x x x MAX := $(foreach x,$(sixteen),$(sixteen)) # T estimates how many targets we are building by replacing BUILD with a special string T := $(shell $(MAKE) -nrRf $(firstword $(MAKEFILE_LIST)) $(MAKECMDGOALS) \ BUILD="COUNTTHIS" | grep -c

How to build a CD ISO image file from the windows command line?

ぐ巨炮叔叔 提交于 2019-12-03 02:20:22
问题 In an effort to satisfy "The Joel Test" question #2 "Can you make a build in one step?", I'm trying to complete a release candidate build script with the creation of a CD iso from the collection of files gathered and generated by the installer creator. There seem to be many good tools (many free) out there that will create ISOs, but I need to find one that can be run at the windows command line so I can integrate it into the NAnt build script that's fired off by Cruise Control. Build

Building a library using autotools from cmake

风格不统一 提交于 2019-12-03 02:18:00
问题 This is my first try with cmake and I would like to have, if possible, some feedbacks about what I did since some problems remain. In the CMakeLists.txt of the library folder, I created two makefile targets: configure-antlr3c and antlr3c . The first target runs the autotools configuration shell script, the second one runs the make executable to build the library: # CMakeLists.txt in libantlr3c-3.1.3 add_custom_target( configure-antlr3c ${SHELL_EXECUTABLE} configure WORKING_DIRECTORY ${CMAKE

Best practice for setting up an automated build server for iphone apps?

守給你的承諾、 提交于 2019-12-03 01:54:38
问题 I'm looking to setup an automated nightly build server for our iphone apps, and looking for advice on what works and what doesn't. Basically, something that at least nightly runs all the unit tests and publishes a new adhoc build to our internal website. All the developers use laptops (which'll be off overnight), so I'm considering getting a dedicated Mac Mini to do this. I'm not sure if I should get standard Mac OS X or the server edition. At least for the first attempt, I'm considering just

Visual Studio required to run MSTest test on Team City Build Server?

删除回忆录丶 提交于 2019-12-03 01:36:46
We are setting up a Team City build server. On previous VS 2008 projects a full version of Visual Studio has been installed on the build server. We are now starting a VS 2010 project. Is it possible to run MSTest tests on the Team City build server without installing Visual Studio? Download the Visual Studio Agents 2010 ISO: http://www.microsoft.com/en-us/download/details.aspx?id=1334 Mount/Extract the files and copy them to the agent server Run AutoRun and select to install Microsoft Visual Studio Test Agent 2010 Install using the default settings Cancel out of the "configuration" dialog (you

How can I rename files with Grunt, based on the respective file's parent folder name?

随声附和 提交于 2019-12-03 01:35:37
问题 I have a the following structure: src/ modules/ module1/ js/ main.js scss/ main.scss index.html module2/ js/ main.js scss/ main.scss index.html I'd like to run a grunt task to copy these out to the following structure: dev/ js/ module1.js module2.js css/ module1.css module2.css module1.html module2.html Is there a way to do this with an existing grunt plugin? If not, how could I achieve this? 回答1: This can be done using the grunt-contrib-copy plugin. The main thing to note is that you can

Building C# solutions from command line with Visual Studio 2010

孤街醉人 提交于 2019-12-03 01:17:37
问题 I want to automate the build process for my C# solutions. How can I build C# solutions from the command line so that I don't have to deal with dependencies manually? 回答1: if you open a visual studio command prompt from your start menu - then you can call MSBuild and give that either the .sln file or a specific .csproj file in order to build what you need alternatively you can create a custom MSBuild file that takes care of the tasks. one tip: make sure the version of MSBuild that you use is

Is there a Rake equivalent in Python?

喜欢而已 提交于 2019-12-03 00:11:22
问题 Rake is a software build tool written in Ruby (like Ant or Make), and so all its files are written in this language. Does something like this exist in Python? 回答1: Paver has a similar set of goals, though I don't really know how it compares. 回答2: Invoke — Fabric without the SSH dependencies. The Fabric roadmap discusses that Fabric 1.x will be split into three portions: Invoke — The non-SSH task execution. Fabric 2.x — The remote execution and deployment library that utilizes Invoke.

What is a good tool for Build Pipelines?

佐手、 提交于 2019-12-03 00:11:21
I need a tool that will graphically represent our build pipeline. The below screenshots of ThoughtWorks Go and the Jenkins Pipeline plugin illustrate almost exactly what I want it to look like. The problem is that we already use Jenkins for our builds and deployments, along with a few other custom tools for orchestration type duties. We don't want a pipeline tool to do the builds or deployments itself, it just needs to invoke Jenkins! I tried out Go, and the first thing it asked for is where my source code is and how to build it. I couldn't get Go to work in a way where Jenkins does the builds