Questions tagged [build-script]

204 questions
1
vote
0 answers

Build script to generate library using automake

I want to create a library (Ubuntu, shared or static) from C++ source code. The given source code includes a main() function in "outFile.cpp". I want to write my own main.cpp file that should be linked to the library like "g++ -lMyLibrary.a"…
user3521269
  • 458
  • 3
  • 9
1
vote
1 answer

Passing a parameter to NAnt build script

This is my scenario: I have a build.bat that holds: call tools\nant-0.92\bin\nant.exe -buildfile:deploy.build %* -logfile:deploy_NAnt.log Part of deploy.build holds:
no9
  • 6,424
  • 25
  • 76
  • 115
1
vote
0 answers

Exit Code -1 when executing psake task

I have a psake task that I run from my build script to verify that the expected artifacts are created in the expected location. It seems to work when I run it from the command line, however it is returning an error code of "-1" when the assert…
matt
  • 103
  • 1
  • 7
1
vote
0 answers

Sublime Text 2 Build System custom rake task

I am using rake and the git_repositoy gem to deploy my rails app to github. The rake task i use looks like the following: task :test_deploy, :message do | t, args| @git = GitRepository.new Rake::Task[:test].invoke …
Ben Flowers
  • 1,434
  • 7
  • 21
  • 49
1
vote
1 answer

How to build mixed Scala\Java Eclipse workspace automatically?

I have an Eclipse (3.7.2 + Scala 2.10 plugin) workspace. It contains more than 10 Scala and Java projects. I want to organize simple CI build. Just full recompilation (without testing, distribution, style checking ...) Is fast and…
gsv
  • 277
  • 1
  • 9
1
vote
1 answer

replace .php file extensions with .html extension using unix

I am creating a build script to sweep through .html files after they are generated, I cannot seem to find out how to get this to work. Here is a snippet: for PAGE in ${PAGES[@]} do echo "\t\t\t- $DIR_PRE$PAGE.html" echo "\t\t\t- cleaning…
Robert
  • 815
  • 13
  • 29
1
vote
0 answers

HTML5 Ant Build Script

I'm having trouble getting multiple pages working with the HTML Ant Build Script. This was working at one time where I would get multiple contatenated js files based on the different pages, but that has since stopped working. No errors. No warnings.…
normmcgarry
  • 661
  • 2
  • 6
  • 22
1
vote
1 answer

gradle Execution order

i'm new to gradle. If i'm not using the either doFirst() or doLast(). In which order the lines in a plugin(say) are executed. i can observe that they are not executed sequentially? Can somebody explain the execution flow of a gradle file? Thanks
Jeevi
  • 2,962
  • 6
  • 39
  • 60
1
vote
0 answers

Html5boilerplate build script not updating SRC attribute

This question is similar to https://stackoverflow.com/questions/10316098/how-to-configure-html5boilerplate-build-script-to-get-script-src-attributes-repl but I'm not using a php prefix and it happens both to CSS and JS In my original html I have…
Juan Ignacio
  • 3,217
  • 8
  • 33
  • 53
1
vote
1 answer

Build script for Visual Studio and Qt projects

I have an C++ application, which consists of several VS2010 projects and two Qt Creator projects (for the GUI). I would like to have a build script, which builds all the projects at once. So what would be the best tool for the job?
Simon
  • 1,616
  • 2
  • 17
  • 39
1
vote
1 answer

How to deal with Gradle and multi project configuration?

I have several projects [A, B, C], A depends on B and C. I want to move my projects to a multi project build configuration. Today my projects live on SVN, completely isolated. I was wondering if the only way to use the multi project build feature is…
Rodrigo
  • 483
  • 8
  • 14
1
vote
1 answer

GCC ignores second Wno-error option in buildscript, what is wrong?

Edit: Used gcc-version is 4.6. I'm trying to build a toolchain for which I have a buildscript to build the required libraries. I'm trying to build binutils and since warnings are seen as errors, and stop the buildprocess, I have the following part…
random_error
  • 365
  • 4
  • 16
1
vote
1 answer

_PublishedWebsites dont include webfonts?

I am a bit baffled, I have an MVC3 project in Visual Studio 2010, and as part of our build script which outputs the compilation to an "output" directory. This all works fine, however we are now using webfonts as part of our site and no matter what…
Grofit
  • 17,693
  • 24
  • 96
  • 176
0
votes
1 answer

Change a string and undo this change make the file empty

In my script to compile my program in XCode, I need to change the config file from ${NAME} to My New Name And after finish, redo this changes. So this line work: cat $PLIST | sed "s/\${NAME}/${NEW_NAME}/" > $PLIST …
Rodrigo
  • 11,909
  • 23
  • 68
  • 101
0
votes
1 answer

H5BP Build Script Image Optimization

When i run the build script everything works fine but because of the amount of images it takes about 5 minutes to build. Isn't the build script supposed to check if the images are modified since the last build and let them be if they aren't? If it…
Johan B
  • 1,976
  • 1
  • 21
  • 40