All Projects → aerogo → pack

aerogo / pack

Licence: other
📦 Packs the assets for your web server.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to pack

rudebuild
A non-intrusive bulk/unity C++ build tool for Visual Studio
Stars: ✭ 16 (-11.11%)
Mutual labels:  build-tool
AnyStatus
A remote control for your CI/CD pipelines and more
Stars: ✭ 38 (+111.11%)
Mutual labels:  build-tool
spring-boot-project-builder
快速构建Spring Boot项目
Stars: ✭ 20 (+11.11%)
Mutual labels:  build-tool
presetter
🛹 Reuse and manage build scripts, devDependencies and config files from your favourite presets, instead of copy and paste!
Stars: ✭ 61 (+238.89%)
Mutual labels:  build-tool
jagen
A software engineer's workspace manager and build systems wrapper
Stars: ✭ 32 (+77.78%)
Mutual labels:  build-tool
shipwright.nvim
⚓ Build stuff, or don't. IDC.
Stars: ✭ 27 (+50%)
Mutual labels:  build-tool
alfred
(v0.2) Even Batman needs a little help. Task runner. Automator. Build system.
Stars: ✭ 62 (+244.44%)
Mutual labels:  build-tool
makesure
Simple task/command runner with declarative goals and dependencies
Stars: ✭ 230 (+1177.78%)
Mutual labels:  build-tool
image-optimizer
Smart image optimization
Stars: ✭ 15 (-16.67%)
Mutual labels:  build-tool
BuildMonkey
Build artefacts for creating a Eclipse RCP application with gradle
Stars: ✭ 11 (-38.89%)
Mutual labels:  build-tool
pyke
🔨🐍 Make-like build utility for Python projects with extensive DSL features
Stars: ✭ 13 (-27.78%)
Mutual labels:  build-tool
hotbuild
a cross platform hot compilation tool for golang
Stars: ✭ 181 (+905.56%)
Mutual labels:  build-tool
BuildAMation
Build system and project generator for C/C++ desktop software development. Uses C# for build scripts. It is no longer under active development.
Stars: ✭ 13 (-27.78%)
Mutual labels:  build-tool
kbdashboard
Tool to configure, build and install multiple linux kernels.
Stars: ✭ 14 (-22.22%)
Mutual labels:  build-tool
obs-docu
Official Open Build Service Documentation. Content gets reviewed and edited. Generated books are available at http://www.openbuildservice.org
Stars: ✭ 26 (+44.44%)
Mutual labels:  build-tool
Xake
Another MAKE utility implementation on F#, fully declarative with no-brain parallelism, inspired by Shake
Stars: ✭ 24 (+33.33%)
Mutual labels:  build-tool
bob-build
Meta-build system using Blueprint and ninja
Stars: ✭ 24 (+33.33%)
Mutual labels:  build-tool
teapot
Teapot is a tool for managing complex cross-platform builds.
Stars: ✭ 56 (+211.11%)
Mutual labels:  build-tool
modular-styles
Extract CSS into CSS Modules for any language!
Stars: ✭ 25 (+38.89%)
Mutual labels:  build-tool
grunt-retire
Grunt plugin for retire.
Stars: ✭ 89 (+394.44%)
Mutual labels:  build-tool

pack

Godoc Report Tests Coverage Sponsor

Packs the assets for your web server.

Installation

go get -u github.com/aerogo/pack/...

Usage

pack usage

Run pack in your project directory. It will scan your project directory recursively to compile .pixy, .scarlet and .js files resulting in a components package in your root directory. You can then import the components package in your project to access all of your assets.

Pack is silent by default. Use pack -v to produce verbose output.

Performance

Pack uses parallel compilation via job queues and is therefore extremely fast, much faster than the popular webpack.

Components

Since components is a generated directory you should list this directory in your .gitignore file.

CSS

import "github.com/YOUR_ORG/YOUR_REPO/components/css"
css.Bundle()

Returns the CSS bundle which is a string of CSS containing all styles.

JS

import "github.com/YOUR_ORG/YOUR_REPO/components/js"
js.Bundle()

Returns the JS bundle which is a string of JS containing all scripts.

Templates

import "github.com/YOUR_ORG/YOUR_REPO/components"

Templates are registered as public functions in the components package and can be called directly. All components are global, thus you can call a component from one file in another file without any import directives. Components return an HTML string but they use a single strings.Builder via pooling and streaming under the hood, which is extremely fast.

Style

Please take a look at the style guidelines if you'd like to make a pull request.

Sponsors

Cedric Fung Scott Rayapoullé Eduard Urbach
Cedric Fung Scott Rayapoullé Eduard Urbach

Want to see your own name here?

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].