Skip to content

Commit

Permalink
Fix: Remove static file regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Stramel committed Apr 26, 2017
1 parent 7ad86a0 commit 3357dc2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,11 @@
# Copyright (c) 2015, Rik Bellens, AppsUp. All rights reserved.

# Clean Up
rm -rf locale/ *.html
rm -rf locale/

# Generate
mkdir -p locale
for l in $(ls node_modules/moment/locale)
do
echo "<script src="../../moment/locale/$l"></script>" > "locale/${l/.js/.html}"
done

echo "<script src="../moment/moment.js"></script>" > "moment.html"
echo "<script src="../moment/min/moment.min.js"></script>" > "moment-min.html"
echo "<script src="../moment/min/locales.js"></script>" > "locales.html"
echo "<script src="../moment/min/locales.min.js"></script>" > "locales-min.html"

echo "<script src="../moment-timezone/moment-timezone.js"></script>" > "moment-timezone.html"
echo "<script src="../moment-timezone/builds/moment-timezone.min.js"></script>" > "moment-timezone-min.html"

0 comments on commit 3357dc2

Please sign in to comment.