2.0.1 • Published 7 months ago

codeglue v2.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 months ago

Codeglue

npm npm

A good enough build system.

Usage

To run a build, call codeglue. To run the build server, call codeglue --mode=server. You can optionally add either --stage=development or --stage=production.

Documentation

├── source
│   ├── index.html
│   ├── index.css
│   └── index.js
├── package.json
├── .gitignore
└── .eslintrc

codeglue

Will build from source. It starts with the indexes, like "./source/index.js", and compiles together any and all dependencies (and all dependencies of those dependencies). To declare a dependency in JS, use import, or in CSS, use @import. If an error is found in any of the sources, the build is aborted, and the error is reported. When the build is done, the files are put in the "./build/web" directory.

codeglue --mode=server

Will build from source and host the build at localhost:8080. The sources are compiled as detailed above. If, after that, any of the sources are changed, the script will automatically rebuild them, and automatically refresh the build that the server is hosting.

codeglue --mode=deploy

Will build from source and bundle them into executables. The executables support Windows, Mac, and Linux. The executables also include an inlined webpage, or web1, which can be run in Chrome, Firefox, Opera, and Safari.

codeglue --stage=(development|production)

Will build from source for a specific stage, like --stage=development or --stage=production. If neither is specified, the stage defaults to development. A variable named STAGE is injected into the code, which will return either PRODUCTION or DEVELOPMENT. During a production build, the sources are minified and uglified and concatenated.

Technologies

Codeglue is just a bunch of other build tools setup together:

License

This project is licensed under the MIT license.

2.0.1

7 months ago

2.0.0

7 months ago

1.9.1

4 years ago

1.9.0

4 years ago

1.9.4

4 years ago

1.9.3

4 years ago

1.9.2

4 years ago

1.8.0

4 years ago

1.7.2

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.5

5 years ago

1.6.4

5 years ago

1.6.3

5 years ago

1.4.1-forked

5 years ago

1.6.2

5 years ago

1.6.1

5 years ago

1.6.0

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.2-beta

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago