Skip to content
Snippets Groups Projects
Unverified Commit 0db888b1 authored by Pawan Rawal's avatar Pawan Rawal
Browse files

Update build script, delete map files

parent 317ac9e1
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ var (
cpuprofile = flag.String("cpu", "", "write cpu profile to file")
memprofile = flag.String("mem", "", "write memory profile to file")
dumpSubgraph = flag.String("dumpsg", "", "Directory to save subgraph for testing, debugging")
uiDir = flag.String("ui", os.Getenv("GOPATH")+"/src/github.com/dgraph-io/dgraph/dashboard/build", "Directory which contains assets for the user interface")
uiDir = flag.String("ui", "/usr/local/share/dgraph/assets", "Directory which contains assets for the user interface")
finishCh = make(chan struct{}) // channel to wait for all pending reqs to finish.
shutdownCh = make(chan struct{}) // channel to signal shutdown.
pendingQueries = make(chan struct{}, 10000*runtime.NumCPU())
......
......@@ -77,6 +77,10 @@ rm -rf $tmp_dir
echo -e "\nCalculating and storing checksum for ICU data file."
checksum=$($digest_cmd $GOPATH/src/github.com/dgraph-io/goicu/icudt58l.dat | awk '{print $1}')
PATH/src/github.com/dgraph-io/dgraph/cmd/dgraph
echo "$checksum /usr/local/share/icudt58l.dat" >> $checksum_file
echo -e "Calculating and storing checksum for tar gzipped assets."
tar -zcf assets.tar.gz -C $GOPATH/src/github.com/dgraph-io/dgraph/dashboard/build .
checksum=$($digest_cmd assets.tar.gz | awk '{print $1}')
echo "$checksum /usr/local/share/dgraph/assets.tar.gz" >> $checksum_file
......@@ -11,4 +11,4 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
*.map
{"version":3,"sources":[],"names":[],"mappings":"","file":"static/css/main.706f20fc.css","sourceRoot":""}
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment