Comments (4)
@constructor-igor have a look here:
https://github.com/cake-build/example/blob/master/build.ps1#L44
If you don't specify a target argument for the build.ps1 the default is Default. As a result, there is not a target called that in your script. Normally, I leave the Default task in place, but instead use an IsDependentOn method call to specify which Target should be invoked when calling Default.
from example.
but what does it mean var target = Argument("Target", "Report");
?
I thought it defines default "Report"
from example.
It does, when there is no target being passed in. However, the bootstrapper is always passing a target, I.e. Default 🙂
from example.
ok. understood ;)
thank you,
Igor.
from example.
Related Issues (20)
- Build.sh does not work in Cygwin environment HOT 1
- Hello World Example Generates Warnings HOT 4
- NUnit should load via tool directive HOT 3
- build.ps1 not executing HOT 5
- build.sh downloads old version of nuget HOT 1
- Edit New issue PowerShell bootstrapper MD5 check of packages config not supported by earlier versions of PowerShell
- Make this project build using PowerShell 2.0 HOT 8
- NUnit2: how to define test class HOT 5
- Doesn't work on macos HOT 3
- build.ps1: Could not load file or assembly Microsoft.Build HOT 4
- Cake.Json addin problem with Cake.Build 0.22.2 HOT 2
- DownloadFile is not handling redirections HOT 9
- Error running ./build.sh on Ubuntu - System.ComponentModel.Composition HOT 3
- Update build.ps1? HOT 1
- build.sh - passing argument with value doesn't work HOT 1
- build.sh doesn't work on systems without mono HOT 3
- Calling build.sh with -Target argument causes double targets HOT 3
- build.sh should use the .Net Core cli command first and fall back to mono in its absence HOT 3
- -target in build.ps1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from example.