Code Monkey home page Code Monkey logo

cake.mage's Introduction

Cake.Mage

The Cake.Mage addin adds Mage.exe support to Cake

License

Information

Stable Pre-release
GitHub Release - GitHub release
NuGet NuGet NuGet

Build Status

Develop Master
Build status Build status

Code Coverage

Coverage Status

Quick Links

Breaking changes

1.1.0

  • References Cake 4.0.0
  • Supports .net 6+

1.0.0

  • References cake 1.0.0
  • Add paths for .net 4.8, add logging of tool lookup

0.4

​ - BaseNewAndUpdateDeploymentSettings.Install is false by default

Discussion

If you have questions, search for an existing one, or create a new discussion on the Cake GitHub repository, using the extension-q-a category.

Join in the discussion on the Cake repository

Build

To build this package we are using Cake.

On Windows PowerShell run:

./build

cake.mage's People

Contributors

emphasis87 avatar gep13 avatar mihamarkic avatar phil-scott-78 avatar sierzput avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cake.mage's Issues

cake-contrib user on NuGet

First of all, I wanted to thank you for adding to the Cake community by adding this addin.

I was just wondering if you had seen this blog post:

http://cakebuild.net/blog/2016/08/cake-contribution-organization

We are currently going through a process of increasing the visibility of addins, and also trying to ensure their long term maintainability.

To that end, we are asking addin creators to add the cake-contrib user on NuGet as a co-owner (this can be done through the NuGet website by clicking on Manage Owners on the package page).

Would you be interested in doing this for Cake.AWS.CloudFront? If you have any questions about this, please let me know. There was some initial concern that the Cake Team were trying to "take over" packages, and that couldn't be further from the truth, and if you have this concern, or others, I would like to address them.

Thanks!

Recommended changes resulting from automated audit

We performed an automated audit of your Cake addin and found that it does not follow all the best practices.

We encourage you to make the following modifications:

  • The nuget package for your addin should use the cake-contrib icon. Specifically, your addin's .csproj should have a line like this: <PackageIconUrl>https://cdn.jsdelivr.net/gh/cake-contrib/graphics/png/cake-contrib-medium.png</PackageIconUrl>.

Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.

This issue was created by a tool: Cake.AddinDiscoverer version 3.12.1

Replace Gitter with GitHub Discussions

The Discussion platform for Cake-Contrib has been moved from Gitter to GitHub Discussion (see cake-build/website#1470).
Please check this repo for references to Gitte and replace them accordingly.

Search suggests that references could be in

  • README.md
  • docs/input/blog/new-release-0.3.0.md

Recommended changes resulting from automated audit

We performed an automated audit of your Cake addin and found that it does not follow all the best practices.

We encourage you to make the following modifications:

  • You are currently referencing Cake.Core 0.18.0. Please upgrade to 0.28.0
  • Your addin should target netstandard2.0. Please note that there is no need to multi-target, netstandard2.0 is sufficient.
  • The nuget package for your addin should use the cake-contrib icon. Specifically, your addin's .csproj should have a line like this: <PackageIconUrl>https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png</PackageIconUrl>.
  • There should be a YAML file describing your addin on the cake web site. Specifically, you should add a .yml file in this repo

Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.org and in the project on github.

Convert this repo to use Cake.Recipe

@enkafan Would you be interested in me adding it to this repository?

The benefits would be...

  • a single place to control all the builds in the cake-contrib organisation
  • access to notifications on twitter and gitter when new releases are available

Things that Cake.Recipe already does:

  • Version with GitVersion
  • Build
  • Compile
  • Run Unit Tests
  • Submit results to coveralls.io
  • NuGet Package everything
  • Upload all artifacts to AppVeyor
  • Runs DupFinder
  • Runs InspectCode
  • Handles publishing to both MyGet and NuGet (for interim releases)
  • Runs GitLink, meaning that addin code is debuggable doing debug session in visual studio when debugging build.cake
  • Documentation Website generation using Wyam

Probably other stuff that I have forgotten.

The main thing being, if we add something to Cake.Recipe, then all projects that are already using Cake.Recipe should be able to immediately take advantage of it.

Thoughts? If you were interested, would you be happy to have me make the changes directly to repo, or would you prefer it as a PR?

Reference Cake 1.0.0

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

  • Module version used:
  • Operating System and PowerShell version:

Default switch for "Install" for new deployments might be wrong

First of all thanks for this nice add-in...

I'm not sure about this one:
But when I create a new deployment using "Install = true", I get
<deployment install="false" minimumRequiredVersion="2.6.0.27877">
in my .application file.

I checked your code and it omits the switch, if the default (true) is specified.
I also checked the mage documentation from MS and this indeed says, that true is the default...

When I explicitly set the install switch, i get the expected result.

So I'm not sure, if I'm doing something wrong, or if the documentation of the default value in the mage documentation is wrong...

Would it be possible to use the Cake Contrib Icon for your NuGet Package?

Thanks again for creating this Cake Addin, we really appreciate the effort that you have put in to creating it.

We, the Cake Team, recently announced a new Cake Contrib Icon, details of which can be found here:

http://cakebuild.net/blog/2017/06/new-cake-contrib-icon

Would you consider changing the nuspec file for your NuGet Package to use this new Cake Contrib Icon? If so, the recommended URL to use is:

https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png

Details of the above URL can be found in the repository here:

https://github.com/cake-contrib/graphics

Please let me know if you have any questions.

Cake.Mage is referencing older version of Cake.Core

Hi, I upgraded Cake a got this message:

Installing addins...
Package Cake.Git has already been installed.
The addin Cake.Git will reference Cake.Git.dll.
The addin Cake.Git will reference LibGit2Sharp.dll.
Verifying assembly 'Cake.Core, Version=0.24.0.0, Culture=neutral, PublicKeyToken=null'.
Verifying assembly 'Cake.Mage, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null'.
Error: Cake.Core.CakeException: The assembly 'Cake.Mage, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null'
is referencing an older version of Cake.Core (0.18.0).
This assembly need to reference at least Cake.Core version 0.22.0.
Another option is to downgrade Cake to an earlier version.
It's not recommended, but you can explicitly opt-out of assembly verification
by configuring the Skip Verification setting to true
(i.e. command line parameter "--settings_skipverification=true",
environment variable "CAKE_SETTINGS_SKIPVERIFICATION=true",
read more about configuration at https://cakebuild.net/docs/fundamentals/configuration)

   v Cake.Core.Reflection.AssemblyVerifier.Verify(Assembly assembly) v C:\projects\cake\src\Cake.Core\Reflection\AssemblyVerifier.cs:řádek 62
   v Cake.Core.Reflection.AssemblyLoader.Load(FilePath path, Boolean verify) v C:\projects\cake\src\Cake.Core\Reflection\AssemblyLoader.cs:řádek 36
   v Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments) v C:\projects\cake\src\Cake.Core\Scripting\ScriptRunner.cs:řádek 171
   v Cake.Commands.BuildCommand.Execute(CakeOptions options) v C:\projects\cake\src\Cake\Commands\BuildCommand.cs:řádek 35
   v Cake.CakeApplication.Run(CakeOptions options) v C:\projects\cake\src\Cake\CakeApplication.cs:řádek 45
   v Cake.Program.Main() v C:\projects\cake\src\Cake\Program.cs:řádek 74

I am using this code to add Cake.Make:

#tool nuget:?package=Cake.Mage&prerelease
#reference ../../tools/cake.mage/Cake.Mage/lib/net45/Cake.Mage.dll

It worked so far. Will there be a new release of Cake.Mage?

Setup.exe

Hi,
Setup.exe which is generated when published from Visual Studio doesn't get generated using Mage, is there something i am missing in configuration?

Thanks

Make paths relative

Some paths aren't meant to be absolute: AppCodeBaseFilePath, AppManifest and IconFile hence use relative path - whatever FilePath.FullPath returns that is.
Note, this is a BREAKING change

Should fix #4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.