How to setup build batch file with project in subfolder?
I have the following folder structure:
build.cmd
src/Build.fsx
src/Project.sln
So in build.cmd I have something like:
src\packages\FAKE.3.11.3\tools\Fake.exe src\Build.fsx
However that fails. When I put the cmd directly in the build config then I get:
Build started
git clone -q --branch=master git://github.com/halcwb/GenSolver.git C:\projects\gensolver
git checkout -qf 66cfe210581c0004623fbf4cbe7687c32662ae49
src\packages\FAKE.3.11.3\tools\Fake.exe src\Build.fsx
The system cannot find the path specified.
Command exited with code 1
Any ideas how to setup this configuration?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 06 Dec, 2014 09:43 PM
https://github.com/halcwb/GenSolver/pull/1
2 Posted by halcwb on 06 Dec, 2014 09:56 PM
Thanks, works like a fly.
Just my curiosity, why didn't this work with putting the commands in the cmd file? Surely, it is a relative path issue, but I am just curious.
Support Staff 3 Posted by Feodor Fitsner on 07 Dec, 2014 03:47 AM
There wasn't
nuget restore
and thus packageIlya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.