Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
2244224b
Commit
2244224b
authored
Apr 25, 2016
by
Dan Cech
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add basic Makefile, remove need for global grunt-cli
parent
29a2b203
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
4 deletions
+20
-4
Makefile
+17
-0
README.md
+1
-3
build.go
+1
-1
package.json
+1
-0
No files found.
Makefile
0 → 100644
View file @
2244224b
all
:
deps build
deps
:
go run build.go setup
godep restore
npm install
build
:
go run build.go build
npm run build
test
:
godep go
test
-v
./pkg/...
npm run
test
run
:
./bin/grafana-server
README.md
View file @
2244224b
...
...
@@ -103,8 +103,7 @@ npm (v2.5.0) and grunt (v0.4.5). Run the following:
```
bash
npm install
npm install
-g
grunt-cli
grunt
npm run build
```
### Recompile backend on source change
...
...
@@ -145,4 +144,3 @@ please [sign the CLA](http://docs.grafana.org/project/cla/)
Grafana is distributed under Apache 2.0 License.
Work in progress Grafana 2.0 (with included Grafana backend)
build.go
View file @
2244224b
...
...
@@ -306,7 +306,7 @@ func ChangeWorkingDir(dir string) {
}
func
grunt
(
params
...
string
)
{
runPrint
(
"./node_modules/
grunt-cli/
bin/grunt"
,
params
...
)
runPrint
(
"./node_modules/
.
bin/grunt"
,
params
...
)
}
func
setup
()
{
...
...
package.json
View file @
2244224b
...
...
@@ -62,6 +62,7 @@
"npm"
:
"2.14.x"
},
"scripts"
:
{
"build"
:
"grunt"
,
"test"
:
"grunt test"
,
"coveralls"
:
"grunt karma:coveralls && rm -rf ./coverage"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment