<commit_before>﻿var p = require('./package.json');
var gulp = require('gulp');
var path = require('path');
var del = require('del');
var version = p.version;
var configuration = process.env.BUILD_CONFIGURATION || 'Release';
var {restore, build, test, pack, push} = require('gulp-dotnet-cli');

gulp.task('default', ['nuget', 'test']);

gulp.task('clean', [], ()=>del(['output', 'src/**/bin', 'src/**/obj']))

gulp.task('restore', ['clean'], ()=>{

    return gulp.src('**/*.sln')
               .pipe(restore());

}, {read:false});

gulp.task('build', ['restore'], ()=>{

    return gulp.src('**/*.sln')
               .pipe(build({
                   configuration: configuration,
                   version: version
               }));

}, {read:false});

gulp.task('test', ['build'], ()=>{

    return gulp.src('**/*UnitTests.csproj')
               .pipe(test({
                   configuration: configuration,
                   noBuild: true
                }));
                
}, {read:false});

gulp.task('nuget', ['build'], ()=>{

    return gulp.src('src/Otp.NET/Otp.NET.csproj')
               .pipe(pack({
                   version: p.version,
                   configuration: configuration,
                   output: path.resolve(__dirname, 'output')
               }));

}, {read:false});

gulp.task('push', ['nuget'], ()=>{

    return gulp.src('output/**/*.nupkg')
               .pipe(push({
                   apiKey: process.env.NUGET_API_KEY
               }));

}, {read:false});<commit_msg>push should depend on default<commit_after>﻿var p = require('./package.json');
var gulp = require('gulp');
var path = require('path');
var del = require('del');
var version = p.version;
var configuration = process.env.BUILD_CONFIGURATION || 'Release';
var {restore, build, test, pack, push} = require('gulp-dotnet-cli');

gulp.task('default', ['nuget', 'test']);

gulp.task('clean', [], ()=>del(['output', 'src/**/bin', 'src/**/obj']))

gulp.task('restore', ['clean'], ()=>{

    return gulp.src('**/*.sln')
               .pipe(restore());

}, {read:false});

gulp.task('build', ['restore'], ()=>{

    return gulp.src('**/*.sln')
               .pipe(build({
                   configuration: configuration,
                   version: version
               }));

}, {read:false});

gulp.task('test', ['build'], ()=>{

    return gulp.src('**/*UnitTests.csproj')
               .pipe(test({
                   configuration: configuration,
                   noBuild: true
                }));
                
}, {read:false});

gulp.task('nuget', ['build'], ()=>{

    return gulp.src('src/Otp.NET/Otp.NET.csproj')
               .pipe(pack({
                   version: p.version,
                   configuration: configuration,
                   output: path.resolve(__dirname, 'output')
               }));

}, {read:false});

gulp.task('push', ['default'], ()=>{

    return gulp.src('output/**/*.nupkg')
               .pipe(push({
                   apiKey: process.env.NUGET_API_KEY
               }));

}, {read:false});
{'fraction_non_alphanumeric': 0.21166448230668414, 'fraction_numerical': 0.0, 'mean_word_length': 2.099492385786802, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3565660', 'n_tokens_mistral': 936, 'n_tokens_neox': 913, 'n_words': 163}