Questions tagged [build-script]
204 questions
5
votes
2 answers
powershell weirdly encodes ampersands when I try to set the value to an xml attribute
In my build script, I have a helper powershell function as below:
function set-connectionstring {
param($path, $name, $value)
$settings = [xml](get-content $path)
$setting = $settings.configuration.connectionStrings.add | where { $_.name -eq…

tugberk
- 57,477
- 67
- 243
- 335
4
votes
3 answers
How do I use other build systems with rubygems?
My C code is getting harder to manage due to the inflexibility of mkmf. For this reason, I'd like to use another build system.
What does rubygems need in order to build a C extension? How can I integrate a build system like autotools/configure into…

Matheus Moreira
- 17,106
- 3
- 68
- 107
4
votes
1 answer
Depend on the binary of another workspace package being built by cargo
I have a workspace project with multiple packages. The two important ones are:
flowc - which is a lib and a binary
flowstdlib
flowc is a kind of compiler that I build as part of the project.
flowstdlib has a build script, that uses the flowc built…

Andrew Mackenzie
- 5,477
- 5
- 48
- 70
4
votes
1 answer
build.gradle buildscript dependencies vs. dependencies?
Can someone explain to me how depedencies listed in the "buildscript" in the build.gradle file are different than regular dependencies listed in the dependencies block { } ? and why they have to be listed with the syntax "implementation"? I've…

ennth
- 1,698
- 5
- 31
- 63
4
votes
1 answer
gn scripts are run with the wrong Python version ("a bytes-like object is required, not 'str'")
When building Chromium or libwebrtc with gn on macOS (Catalina 10.15), I get errors from the Python build scripts about bytes and str. For example:
src [heads/master●] % gn gen out/ios_64 --args='target_os="ios" target_cpu="arm64"'
ERROR at…

Lynn
- 10,425
- 43
- 75
4
votes
2 answers
Using gradle shadow with Kotlin multiplatform
is there any way to setup Gradle Shadow with a Kotlin multiplatform project? I am using the "new" version of a multiplatform project, where I have all my source set definitions/dependencies in just one file. Here is my build file:
buildscript {
…

Hamza ALI
- 95
- 1
- 2
- 8
4
votes
2 answers
Writing to build directory info.plist using Xcode's "New Build System"
Before using the "New Build System", we had a build phase script like this:
infoplist="$BUILT_PRODUCTS_DIR/$INFOPLIST_PATH"
builddate=`date`
/usr/libexec/PlistBuddy -c "Set :BuildDateString $builddate" "${infoplist}"
The point of this way to write…

FireDragonMule
- 1,347
- 2
- 16
- 27
4
votes
0 answers
How to compile libass to iOS platform?
I want to render .ass file to display subtitles, but I don't know how to cross-compile it.
Github repo is here:
https://github.com/libass/libass
I'm looking for some build scripts kind of things, anybody can help? Thanks.

Franz Wang
- 596
- 4
- 14
4
votes
2 answers
'module' is undefined in grunt javascript
I want to integrate Grunt on my java Script project. I have installed npm, grunt and all.
I have created the package.json file and GRUNTFILE.js for the grunt.
but when i run the "grunt" command i am getting this error 'module' is undefined.…

Megha
- 1,581
- 2
- 18
- 33
4
votes
1 answer
Phing copy contents of folder
I'm trying to move the contents of a folder to another destination in Phing. I can't directly download the contents from SVN, because they're in a zip. After the file is unzipped, I want to move the contents.
I found this syntax, but it doesn't…

RogerTheShrubber
- 100
- 2
- 6
4
votes
1 answer
MSBuild - Copy All Bin Output - Debug|Release
I have the following MSBuild targets file (below).
How would I add an additional step after Default to copy all the \bin\Debug or \bin\Release from one of the projects to a folder called binaries that is in the same folder as the .targets file was…

BuddyJoe
- 69,735
- 114
- 291
- 466
3
votes
1 answer
JIRA - Update last build number from SVN
I have a powershell build script which checks out code and increments a build number in SVN (nightly) in our Version.h file.
What I need is some way to set that build number in JIRA (or have JIRA read it from SVN) so that when a story is marked as…

Jordan
- 9,014
- 8
- 37
- 47
3
votes
3 answers
Nant build script IDE
I work on project where is huge Nant build script.
Could you advise free Nant build script IDE?

Anton
- 9,682
- 11
- 38
- 68
3
votes
1 answer
HowTo build a delphi application with MSBuild and a compiler included into the respository (not installed with IDE)
My question is if the following scenario is possible.
I have a system (maybe a Docker image) where MSBuild is installed.
I have a repository which contains my sourcecode (Delphi) and the delphi compiler (directory bin and lib).
Now I checkout my…

Rynardald
- 329
- 2
- 10
3
votes
1 answer
How do you add a Gradle Composite Build to the buildscript classpath
I have included a sub-project using includeBuild in the settings.gradle file. I want to reference this project in the buildscript classpath. Both classpath project(":projectname") and classpath 'mygroup:subproject' in the build.gradle file but this…

Suminda Sirinath S. Dharmasena
- 1,831
- 3
- 26
- 35