Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,898 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ configlocal.js | |
sandbox/* | ||
css/ckan | ||
.*.swp | ||
build/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/bash | ||
# | ||
# this is the make script | ||
# it requires installation of node.js with the following | ||
# modules installed: | ||
# | ||
# - jshint, for checking the js syntax | ||
# - uglify-js, for js minification | ||
# - markdown-js, for translation of readme.md to index.html | ||
# | ||
# Usage: | ||
# just run ./make and be happy | ||
# | ||
|
||
set -e | ||
BUILD=pkg | ||
OUTFILE=$BUILD/ckanjs.js | ||
MINFILE=$BUILD/ckanjs.min.js | ||
|
||
echo "Checking JS files" | ||
while read LINE | ||
do | ||
echo Skipping $LINE | ||
# jshint $LINE | ||
done < manifest | ||
|
||
echo "Combining JS files" | ||
DATE=`date +%s` | ||
TMP=tmp_$DATE | ||
TMPFILE=$TMP/tmp.js | ||
mkdir $TMP | ||
touch $TMPFILE | ||
|
||
while read LINE | ||
do | ||
cat $LINE >> $TMPFILE | ||
done < manifest | ||
|
||
mkdir -p $BUILD | ||
cp $TMPFILE $OUTFILE | ||
|
||
echo "Compressing JS files" | ||
# uglifyjs -o $MINFILE $TMPFILE | ||
|
||
# remove temporary folder | ||
rm -Rf $TMP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
lib/client.js | ||
lib/model.js | ||
lib/templates.js | ||
lib/view.js | ||
lib/ui.js | ||
lib/template/dataset-form.js | ||
lib/template/dataset-view.js | ||
lib/template/resource-form.js | ||
lib/template/resource-upload.js | ||
lib/template/resource-view.js | ||
lib/view/dataset-listing.js | ||
lib/view/resource-create.js | ||
lib/view/resource-upload.js |
Oops, something went wrong.