Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

theimpossibleastronaut/beaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beaver builds your optimized deployment ready website. Feed it a folder and it (will be able to) convert and optimize hipster webfiles like html/css/scss/js to the most optimized version. Even better, it will be able to autopublish.

Build Status

Development is done in haxe using the hxcpp builder to create a native binary for your platform.

For now, no manual is provided. Ask for help, figure it out. W/e. irc://irc.oceanius.com/#dev

Nice beaver!

Install on new machines (For linux see botom first!):

brew install haxe
mkdir ~/haxelib
haxelib setup ~/haxelib
haxelib install hxcpp

Build it:

haxe build.hxml

Run it:

bin/bvr

If it's in your path: bvr


Beaver is working fine without it, but sometimes you want to tweak some settings for your project. This is done using .beaver.dam configuration files. You can edit these with your favourite editor since it's a JSON file. Your project can obtain a default .beaver.dam file by issueing the bvr init command.

Default .beaver.dam configuration settings:

{
    /* Ignore files matching this name when generating the fileset for building. Doesn't yet support wildcards.  */
    "ignoreFilesOnBuild": [
        ".beaver.dam",
        ".DS_Store",
        "desktop.ini",
        "Thumbs.db"
    ]
}

If you run linux, you need to make sure you have a sane build environment first.

sudo apt-get update
sudo apt-get install python-software-properties -y --force-yes
sudo add-apt-repository -y ppa:eyecreate/haxe
sudo apt-get update
sudo apt-get install haxe gcc-multilib g++-multilib -y --force-yes
mkdir ~/haxelib
haxelib setup ~/haxelib
haxelib install hxcpp

  • Includes Haxmin from @YellowAfterlife , I don't like git submodules. Only modified its package.

About

Content optimizer for statically generated pages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published