Skip to content

geoffrey-ps/geoffrey

Repository files navigation

geoffrey - the PowerShell task runner for web

geoffrey logo

Build status

download and install geoffrey

(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/geoffrey-ps/geoffrey/master/getgeoffrey.ps1") | iex

initial concept

task init{
    if(-not (Test-Path $destfolder)){
        New-Item -Path $destfolder -ItemType Directory -Force
    }

    Get-ChildItem $destfolder -Recurse -File | Remove-Item

    requires geoffrey-less
    requires geoffrey-coffee
    requires geoffrey-sass
}

task democopy {
    src "$sourcefolder\css\site.css" |
        dest "$destfolder\site-from-ps.css"
}

task democoncat {
    dir "$sourcefolder\css\lib\*.css" |
        src | 
        dest "$destfolder\combined.css"
}

task democssmin{
    dir "$sourcefolder\css\site.css" |
        src |
        cssmin |
        dest "$destfolder\site.min.css"
}

task demojsmin{
    dir "$sourcefolder\js\jquery-1.10.2.js" |
        src |
        jsmin |
        dest "$destfolder\jquery-1.10.2.min.js"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published