Skip to content

Instantly share code, notes, and snippets.

@hdemon
Created August 26, 2011 09:53
Show Gist options
  • Save hdemon/1173099 to your computer and use it in GitHub Desktop.
Save hdemon/1173099 to your computer and use it in GitHub Desktop.
分割ファイルを統合してバージョンを付けるスクリプト
#! /bin/bash
rm explorizer-[0-9.]*.js
version=$(head -n 1 version)
cd src
cat core.js >> code
cat util.js >> code
cat resizer.js >> code
cat aligner.js >> code
cat selector.js >> code
cat manipulator.js >> code
cat titlebar.js >> code
cat locator.js >> code
cat evtcontroller.js>> code
cat wform.js >> code
cat intro code outro >> ../explorizer-${version}.js
rm code
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment