Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #14 from spontoreau/updatePackages
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
spontoreau authored Feb 5, 2019
2 parents 16819c8 + b84511b commit bc10bd5
Show file tree
Hide file tree
Showing 17 changed files with 936 additions and 939 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ First of all, I want to thank you for spending time to improve this project 🙏

The following guidelines ensure your contributions respect the project philosophy, design, conventions and rules.

> ℹ️ You can talk about this project on [Slack](https://join.slack.com/t/rust-azure-devops-extension/shared_invite/enQtMzkxNzU4MTgyMDg2LTlkMjJmMzM2MmIyYmJmMjFmNDJkN2IzZmMxZDFhZTgyOGFjYWExNTkwM2YwYTQ3YmI3OWNlYjBhYjcyNGY5OTM)
> ℹ️ You can talk about this project on [Slack](https://join.slack.com/t/rust-vsts-extension/shared_invite/enQtMzkxNzU4MTgyMDg2LTlkMjJmMzM2MmIyYmJmMjFmNDJkN2IzZmMxZDFhZTgyOGFjYWExNTkwM2YwYTQ3YmI3OWNlYjBhYjcyNGY5OTM)
## <a id="how-to-contribute"></a>❓ How to contribute

Expand Down Expand Up @@ -171,7 +171,7 @@ Don't install new dependencies. Remember that the project is an extension and th

Use camelCase convention when naming a file.

VSTS task library isn't unit tests friendy... That's why there is no unit test setup in the project...
Azure DevOps task library isn't unit tests friendy... That's why there is no unit tests setup in the project...

### <a id="documentation"></a>📚 Documentation

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Rust extension for Azure DevOps

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Marketplace](https://img.shields.io/badge/marketplace-public-brightgreen.svg)](https://marketplace.visualstudio.com/items?itemName=spontoreau.rust-azure-devops)
[![Chat](https://img.shields.io/badge/chat-on%20slack-brightgreen.svg)](https://join.slack.com/t/rust-azure-devops-extension/shared_invite/enQtMzkxNzU4MTgyMDg2LTlkMjJmMzM2MmIyYmJmMjFmNDJkN2IzZmMxZDFhZTgyOGFjYWExNTkwM2YwYTQ3YmI3OWNlYjBhYjcyNGY5OTM)
[![Marketplace](https://img.shields.io/badge/marketplace-public-brightgreen.svg)](https://marketplace.visualstudio.com/items?itemName=spontoreau.rust-vsts)
[![Chat](https://img.shields.io/badge/chat-on%20slack-brightgreen.svg)](https://join.slack.com/t/rust-vsts-extension/shared_invite/enQtMzkxNzU4MTgyMDg2LTlkMjJmMzM2MmIyYmJmMjFmNDJkN2IzZmMxZDFhZTgyOGFjYWExNTkwM2YwYTQ3YmI3OWNlYjBhYjcyNGY5OTM)
[![Build Status](https://img.shields.io/vso/build/spontoreau/d5f5ab40-dda9-46c8-8f62-1e8d2e3f7143/5.svg)](https://dev.azure.com/spontoreau/rust-azure-devops/_build?definitionId=5)

An [Azure DevOps](https://azure.microsoft.com/en-us/services/devops/) extension to manage [Rust](https://www.rust-lang.org) projects 🦀. Take a look to this extension on the Visual Studio [marketplace](https://marketplace.visualstudio.com/items?itemName=spontoreau.rust-vsts).
Expand Down
2 changes: 1 addition & 1 deletion debug/common/debug.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { join } from "path";
import { TaskMockRunner } from "vsts-task-lib/mock-run";
import { TaskMockRunner } from "azure-pipelines-task-lib/mock-run";
import { Input } from "./input";

export default (file: string, ...input: Input[]) => {
Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const argv = require('yargs').argv;
const fs = require("fs");
const moment = require("moment");

const env = argv.release ? "" : "-beta";
const env = argv.release ? "" : "-private";
const patch = (argv.patch !== null && argv.patch !== undefined)
? argv.patch
: moment().format("YYDDDHHmm");;
Expand Down Expand Up @@ -39,7 +39,7 @@ gulp.task("copy", () => {
gulp
.src("./vss-extension.json")
.pipe(jeditor((json) => {
json.id = `rust-azure-devops${env}`;
json.id = `rust-vsts${env}`;
json.name = `Rust${env}`;
json.public = env ? false : true;
json.version = json.version.replace("{patch}", patch);
Expand Down Expand Up @@ -78,7 +78,7 @@ gulp.task("copy", () => {

gulp.task("install", () => {
return ["install", "cargo", "rustup", "rustc"]
.map((vstsTask) => run(`npm install vsts-task-lib --prefix ./tmp/tasks/${vstsTask}`).exec());
.map((task) => run(`npm install azure-pipelines-task-lib --prefix ./tmp/tasks/${task}`).exec());
});

gulp.task("default", (cb) => runSequence("clean", "compile", "copy", "install", cb));
Expand Down
Loading

0 comments on commit bc10bd5

Please sign in to comment.