Beispiel #1
0
func build(c *config.Config, q *registry.Queue) error {
	q.AddTasks([]string{
		"update:check@0",
		"clean@0",
		"dist:prepare@0",
		"recess:build@0",
		"sass:build@0",
		"imagemin@0",
		"minignore@0",
		"ngmin@0",
		"compilejs@0",
		"concat@0",
		"htmlmin@0",
		"ngtemplates@0",
		"cacherev@0",
		"dist:copy@0",
	})

	deploy := c.GetDefault("deploy.mode", "")
	if len(deploy) > 0 {
		q.AddTask(fmt.Sprintf("deploy:%s", deploy))
	}
	return nil
}
Beispiel #2
0
func e2eCompiled(c *config.Config, q *registry.Queue) error {
	q.AddTask("server:angular:compiled")
	return nil
}
Beispiel #3
0
func e2e(c *config.Config, q *registry.Queue) error {
	q.AddTask("server")
	return nil
}