capistrano-jspm 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.idea/.name +1 -0
- data/.idea/capistrano-jspm.iml +22 -0
- data/.idea/encodings.xml +6 -0
- data/.idea/misc.xml +14 -0
- data/.idea/modules.xml +8 -0
- data/.idea/workspace.xml +481 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +56 -0
- data/Rakefile +1 -0
- data/capistrano-jspm.gemspec +23 -0
- data/lib/capistrano-jspm.rb +0 -0
- data/lib/capistrano/jspm.rb +1 -0
- data/lib/capistrano/jspm/version.rb +5 -0
- data/lib/capistrano/tasks/jspm.rake +62 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2fec19dc7efe74067f4b2bb45e23ff9b2802b462
|
4
|
+
data.tar.gz: 5c49608bf3b8d6a59200a3b07195c80befb46ba1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4e1b7f0054744b7508b39e9e666cb1d4f9e45bda0e598ec3f47f9bc31184d280fc5dbeb1a6093507931fee028970f731d63603181fc0b9a541e6a57bd58c69eb
|
7
|
+
data.tar.gz: f32d29b511d1bb068952d1c2ddffe4f9103548308a419adc6bf95ddda8f2f9c30c08d0fc730ae856bf915301f52177ecb9fb548a971215c48635cc3b2ec27789
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.idea
|
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
capistrano-jspm
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="FacetManager">
|
4
|
+
<facet type="gem" name="Ruby Gem">
|
5
|
+
<configuration>
|
6
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
7
|
+
<option name="GEM_APP_TEST_PATH" value="" />
|
8
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
9
|
+
</configuration>
|
10
|
+
</facet>
|
11
|
+
</component>
|
12
|
+
<component name="NewModuleRootManager">
|
13
|
+
<content url="file://$MODULE_DIR$">
|
14
|
+
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
15
|
+
<excludeFolder url="file://$MODULE_DIR$/vendor/bundle" />
|
16
|
+
</content>
|
17
|
+
<orderEntry type="inheritedJdk" />
|
18
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.8.3, RVM: ruby-2.2.0) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.2.0) [gem]" level="application" />
|
21
|
+
</component>
|
22
|
+
</module>
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
4
|
+
<OptionsSetting value="true" id="Add" />
|
5
|
+
<OptionsSetting value="true" id="Remove" />
|
6
|
+
<OptionsSetting value="true" id="Checkout" />
|
7
|
+
<OptionsSetting value="true" id="Update" />
|
8
|
+
<OptionsSetting value="true" id="Status" />
|
9
|
+
<OptionsSetting value="true" id="Edit" />
|
10
|
+
<ConfirmationsSetting value="0" id="Add" />
|
11
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
12
|
+
</component>
|
13
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.2.0" project-jdk-type="RUBY_SDK" />
|
14
|
+
</project>
|
data/.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/capistrano-jspm.iml" filepath="$PROJECT_DIR$/.idea/capistrano-jspm.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,481 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="6cb7654c-e058-4338-a824-2339a64223ae" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
6
|
+
</list>
|
7
|
+
<ignored path="capistrano-jspm.iws" />
|
8
|
+
<ignored path=".idea/workspace.xml" />
|
9
|
+
<ignored path=".idea/dataSources.local.xml" />
|
10
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
11
|
+
<option name="TRACKING_ENABLED" value="true" />
|
12
|
+
<option name="SHOW_DIALOG" value="false" />
|
13
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
14
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
15
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
16
|
+
</component>
|
17
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
18
|
+
<component name="CreatePatchCommitExecutor">
|
19
|
+
<option name="PATCH_PATH" value="" />
|
20
|
+
</component>
|
21
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
22
|
+
<component name="FavoritesManager">
|
23
|
+
<favorites_list name="capistrano-jspm" />
|
24
|
+
</component>
|
25
|
+
<component name="FileEditorManager">
|
26
|
+
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
27
|
+
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
|
28
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
29
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
30
|
+
<state />
|
31
|
+
</provider>
|
32
|
+
<provider selected="true" editor-type-id="text-editor">
|
33
|
+
<state vertical-scroll-proportion="0.06132879">
|
34
|
+
<caret line="2" column="4" selection-start-line="2" selection-start-column="4" selection-end-line="2" selection-end-column="4" />
|
35
|
+
<folding />
|
36
|
+
</state>
|
37
|
+
</provider>
|
38
|
+
</entry>
|
39
|
+
</file>
|
40
|
+
<file leaf-file-name="jspm.rake" pinned="false" current-in-tab="false">
|
41
|
+
<entry file="file://$PROJECT_DIR$/lib/capistrano/tasks/jspm.rake">
|
42
|
+
<provider selected="true" editor-type-id="text-editor">
|
43
|
+
<state vertical-scroll-proportion="0.0">
|
44
|
+
<caret line="25" column="10" selection-start-line="25" selection-start-column="10" selection-end-line="29" selection-end-column="13" />
|
45
|
+
<folding />
|
46
|
+
</state>
|
47
|
+
</provider>
|
48
|
+
</entry>
|
49
|
+
</file>
|
50
|
+
<file leaf-file-name="capistrano-jspm.rb" pinned="false" current-in-tab="false">
|
51
|
+
<entry file="file://$PROJECT_DIR$/lib/capistrano-jspm.rb">
|
52
|
+
<provider selected="true" editor-type-id="text-editor">
|
53
|
+
<state vertical-scroll-proportion="0.0">
|
54
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
55
|
+
<folding />
|
56
|
+
</state>
|
57
|
+
</provider>
|
58
|
+
</entry>
|
59
|
+
</file>
|
60
|
+
</leaf>
|
61
|
+
</component>
|
62
|
+
<component name="Git.Settings">
|
63
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
64
|
+
</component>
|
65
|
+
<component name="IdeDocumentHistory">
|
66
|
+
<option name="CHANGED_PATHS">
|
67
|
+
<list>
|
68
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
69
|
+
<option value="$PROJECT_DIR$/capistrano-jspm.gemspec" />
|
70
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
71
|
+
<option value="$PROJECT_DIR$/lib/capistrano/jspm.rb" />
|
72
|
+
<option value="$PROJECT_DIR$/lib/capistrano-jspm.rb" />
|
73
|
+
<option value="$PROJECT_DIR$/lib/capistrano/tasks/jspm.rake" />
|
74
|
+
<option value="$PROJECT_DIR$/.gitignore" />
|
75
|
+
<option value="$PROJECT_DIR$/README.md" />
|
76
|
+
</list>
|
77
|
+
</option>
|
78
|
+
</component>
|
79
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" />
|
80
|
+
<component name="JsBuildToolPackageJson" detection-done="true" />
|
81
|
+
<component name="JsGulpfileManager">
|
82
|
+
<detection-done>true</detection-done>
|
83
|
+
</component>
|
84
|
+
<component name="ProjectFrameBounds">
|
85
|
+
<option name="x" value="291" />
|
86
|
+
<option name="y" value="1080" />
|
87
|
+
<option name="width" value="1366" />
|
88
|
+
<option name="height" value="738" />
|
89
|
+
</component>
|
90
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
91
|
+
<OptionsSetting value="true" id="Add" />
|
92
|
+
<OptionsSetting value="true" id="Remove" />
|
93
|
+
<OptionsSetting value="true" id="Checkout" />
|
94
|
+
<OptionsSetting value="true" id="Update" />
|
95
|
+
<OptionsSetting value="true" id="Status" />
|
96
|
+
<OptionsSetting value="true" id="Edit" />
|
97
|
+
<ConfirmationsSetting value="0" id="Add" />
|
98
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
99
|
+
</component>
|
100
|
+
<component name="ProjectView">
|
101
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
102
|
+
<flattenPackages />
|
103
|
+
<showMembers />
|
104
|
+
<showModules />
|
105
|
+
<showLibraryContents />
|
106
|
+
<hideEmptyPackages />
|
107
|
+
<abbreviatePackageNames />
|
108
|
+
<autoscrollToSource />
|
109
|
+
<autoscrollFromSource />
|
110
|
+
<sortByType />
|
111
|
+
<manualOrder />
|
112
|
+
<foldersAlwaysOnTop value="true" />
|
113
|
+
</navigator>
|
114
|
+
<panes>
|
115
|
+
<pane id="ProjectPane">
|
116
|
+
<subPane>
|
117
|
+
<PATH>
|
118
|
+
<PATH_ELEMENT>
|
119
|
+
<option name="myItemId" value="capistrano-jspm" />
|
120
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
121
|
+
</PATH_ELEMENT>
|
122
|
+
</PATH>
|
123
|
+
<PATH>
|
124
|
+
<PATH_ELEMENT>
|
125
|
+
<option name="myItemId" value="capistrano-jspm" />
|
126
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
127
|
+
</PATH_ELEMENT>
|
128
|
+
<PATH_ELEMENT>
|
129
|
+
<option name="myItemId" value="capistrano-jspm" />
|
130
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
131
|
+
</PATH_ELEMENT>
|
132
|
+
</PATH>
|
133
|
+
<PATH>
|
134
|
+
<PATH_ELEMENT>
|
135
|
+
<option name="myItemId" value="capistrano-jspm" />
|
136
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
137
|
+
</PATH_ELEMENT>
|
138
|
+
<PATH_ELEMENT>
|
139
|
+
<option name="myItemId" value="capistrano-jspm" />
|
140
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
141
|
+
</PATH_ELEMENT>
|
142
|
+
<PATH_ELEMENT>
|
143
|
+
<option name="myItemId" value="lib" />
|
144
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
145
|
+
</PATH_ELEMENT>
|
146
|
+
</PATH>
|
147
|
+
<PATH>
|
148
|
+
<PATH_ELEMENT>
|
149
|
+
<option name="myItemId" value="capistrano-jspm" />
|
150
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
151
|
+
</PATH_ELEMENT>
|
152
|
+
<PATH_ELEMENT>
|
153
|
+
<option name="myItemId" value="capistrano-jspm" />
|
154
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
155
|
+
</PATH_ELEMENT>
|
156
|
+
<PATH_ELEMENT>
|
157
|
+
<option name="myItemId" value="lib" />
|
158
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
159
|
+
</PATH_ELEMENT>
|
160
|
+
<PATH_ELEMENT>
|
161
|
+
<option name="myItemId" value="capistrano" />
|
162
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
163
|
+
</PATH_ELEMENT>
|
164
|
+
</PATH>
|
165
|
+
<PATH>
|
166
|
+
<PATH_ELEMENT>
|
167
|
+
<option name="myItemId" value="capistrano-jspm" />
|
168
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
169
|
+
</PATH_ELEMENT>
|
170
|
+
<PATH_ELEMENT>
|
171
|
+
<option name="myItemId" value="capistrano-jspm" />
|
172
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
173
|
+
</PATH_ELEMENT>
|
174
|
+
<PATH_ELEMENT>
|
175
|
+
<option name="myItemId" value="lib" />
|
176
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
177
|
+
</PATH_ELEMENT>
|
178
|
+
<PATH_ELEMENT>
|
179
|
+
<option name="myItemId" value="capistrano" />
|
180
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
181
|
+
</PATH_ELEMENT>
|
182
|
+
<PATH_ELEMENT>
|
183
|
+
<option name="myItemId" value="tasks" />
|
184
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
185
|
+
</PATH_ELEMENT>
|
186
|
+
</PATH>
|
187
|
+
</subPane>
|
188
|
+
</pane>
|
189
|
+
<pane id="Scratches" />
|
190
|
+
<pane id="Scope">
|
191
|
+
<subPane subId="Project Files">
|
192
|
+
<PATH>
|
193
|
+
<PATH_ELEMENT USER_OBJECT="Root">
|
194
|
+
<option name="myItemId" value="" />
|
195
|
+
<option name="myItemType" value="" />
|
196
|
+
</PATH_ELEMENT>
|
197
|
+
<PATH_ELEMENT USER_OBJECT="capistrano-jspm">
|
198
|
+
<option name="myItemId" value="" />
|
199
|
+
<option name="myItemType" value="" />
|
200
|
+
</PATH_ELEMENT>
|
201
|
+
</PATH>
|
202
|
+
</subPane>
|
203
|
+
</pane>
|
204
|
+
</panes>
|
205
|
+
</component>
|
206
|
+
<component name="PropertiesComponent">
|
207
|
+
<property name="settings.editor.selected.configurable" value="preferences.sourceCode" />
|
208
|
+
<property name="settings.editor.splitter.proportion" value="0.2" />
|
209
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
210
|
+
<property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
|
211
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
212
|
+
</component>
|
213
|
+
<component name="RunManager">
|
214
|
+
<configuration default="true" type="BashConfigurationType" factoryName="Bash">
|
215
|
+
<option name="INTERPRETER_OPTIONS" value="" />
|
216
|
+
<option name="INTERPRETER_PATH" value="/bin/bash" />
|
217
|
+
<option name="WORKING_DIRECTORY" value="" />
|
218
|
+
<option name="PARENT_ENVS" value="true" />
|
219
|
+
<option name="SCRIPT_NAME" value="" />
|
220
|
+
<option name="PARAMETERS" value="" />
|
221
|
+
<module name="" />
|
222
|
+
<envs />
|
223
|
+
<method />
|
224
|
+
</configuration>
|
225
|
+
<configuration default="true" type="CucumberRunConfigurationType" factoryName="Cucumber">
|
226
|
+
<predefined_log_file id="RUBY_CUCUMBER" enabled="true" />
|
227
|
+
<module name="" />
|
228
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
229
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
230
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
231
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
232
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
233
|
+
<envs />
|
234
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
235
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
236
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
237
|
+
<COVERAGE_PATTERN ENABLED="true">
|
238
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
239
|
+
</COVERAGE_PATTERN>
|
240
|
+
</EXTENSION>
|
241
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*.feature" />
|
242
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
243
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
244
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
245
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_TAGS_FILTER" VALUE="" />
|
246
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="TEST_NAME_FILTER" VALUE="" />
|
247
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_ARGS" VALUE="--color -r features" />
|
248
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
249
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
250
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="VERBOSE_OPTION" VALUE="false" />
|
251
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
252
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
253
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
254
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="CUCUMBER_RUNNER_PATH" VALUE="" />
|
255
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_RUNNER" VALUE="false" />
|
256
|
+
<CUCUMBER_RUN_CONFIG_SETTINGS_ID NAME="SETTINGS_VERSION" VALUE="2" />
|
257
|
+
<method />
|
258
|
+
</configuration>
|
259
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
260
|
+
<method />
|
261
|
+
</configuration>
|
262
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
263
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
264
|
+
<module name="" />
|
265
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
266
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
267
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
268
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
269
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
270
|
+
<envs />
|
271
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
272
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
273
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
274
|
+
<COVERAGE_PATTERN ENABLED="true">
|
275
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
276
|
+
</COVERAGE_PATTERN>
|
277
|
+
</EXTENSION>
|
278
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
279
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
280
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
281
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
282
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
283
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
284
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
285
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
286
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
287
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
288
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
289
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
290
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
291
|
+
<method />
|
292
|
+
</configuration>
|
293
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
294
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
295
|
+
<module name="" />
|
296
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
297
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
298
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
299
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
300
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
301
|
+
<envs />
|
302
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
303
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
304
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
305
|
+
<COVERAGE_PATTERN ENABLED="true">
|
306
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
307
|
+
</COVERAGE_PATTERN>
|
308
|
+
</EXTENSION>
|
309
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
310
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
311
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
312
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
313
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
314
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
315
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
316
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
317
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
318
|
+
<method />
|
319
|
+
</configuration>
|
320
|
+
<configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
|
321
|
+
<node-options />
|
322
|
+
<gulpfile />
|
323
|
+
<tasks />
|
324
|
+
<arguments />
|
325
|
+
<envs />
|
326
|
+
<method />
|
327
|
+
</configuration>
|
328
|
+
<configuration default="true" type="js.build_tools.npm" factoryName="npm">
|
329
|
+
<command value="run-script" />
|
330
|
+
<scripts />
|
331
|
+
<envs />
|
332
|
+
<method />
|
333
|
+
</configuration>
|
334
|
+
</component>
|
335
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
336
|
+
<component name="TaskManager">
|
337
|
+
<task active="true" id="Default" summary="Default task">
|
338
|
+
<changelist id="6cb7654c-e058-4338-a824-2339a64223ae" name="Default" comment="" />
|
339
|
+
<created>1464105186467</created>
|
340
|
+
<option name="number" value="Default" />
|
341
|
+
<updated>1464105186467</updated>
|
342
|
+
</task>
|
343
|
+
<task id="LOCAL-00001" summary="Typo">
|
344
|
+
<created>1464107472282</created>
|
345
|
+
<option name="number" value="00001" />
|
346
|
+
<option name="project" value="LOCAL" />
|
347
|
+
<updated>1464107472282</updated>
|
348
|
+
</task>
|
349
|
+
<option name="localTasksCounter" value="2" />
|
350
|
+
<servers />
|
351
|
+
</component>
|
352
|
+
<component name="ToolWindowManager">
|
353
|
+
<frame x="291" y="1080" width="1366" height="738" extended-state="0" />
|
354
|
+
<editor active="false" />
|
355
|
+
<layout>
|
356
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
|
357
|
+
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32921174" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
358
|
+
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32921174" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
359
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32930514" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
360
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
361
|
+
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2602428" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
362
|
+
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
363
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33384854" sideWeight="0.5166163" order="8" side_tool="true" content_ui="tabs" />
|
364
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3763608" sideWeight="0.4826284" order="9" side_tool="false" content_ui="tabs" />
|
365
|
+
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
366
|
+
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
367
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33230293" sideWeight="0.4833837" order="1" side_tool="false" content_ui="tabs" />
|
368
|
+
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
369
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
370
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
371
|
+
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
|
372
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32970452" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
373
|
+
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
374
|
+
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
375
|
+
</layout>
|
376
|
+
</component>
|
377
|
+
<component name="VcsContentAnnotationSettings">
|
378
|
+
<option name="myLimit" value="2678400000" />
|
379
|
+
</component>
|
380
|
+
<component name="VcsManagerConfiguration">
|
381
|
+
<MESSAGE value="Typo" />
|
382
|
+
<option name="LAST_COMMIT_MESSAGE" value="Typo" />
|
383
|
+
</component>
|
384
|
+
<component name="XDebuggerManager">
|
385
|
+
<breakpoint-manager />
|
386
|
+
<watches-manager />
|
387
|
+
</component>
|
388
|
+
<component name="editorHistoryManager">
|
389
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
390
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
391
|
+
<state />
|
392
|
+
</provider>
|
393
|
+
<provider selected="true" editor-type-id="text-editor">
|
394
|
+
<state vertical-scroll-proportion="0.0">
|
395
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
396
|
+
<folding />
|
397
|
+
</state>
|
398
|
+
</provider>
|
399
|
+
</entry>
|
400
|
+
<entry file="file://$PROJECT_DIR$/lib/capistrano/tasks/jspm.rake">
|
401
|
+
<provider selected="true" editor-type-id="text-editor">
|
402
|
+
<state vertical-scroll-proportion="0.0">
|
403
|
+
<caret line="25" column="10" selection-start-line="25" selection-start-column="10" selection-end-line="29" selection-end-column="13" />
|
404
|
+
<folding />
|
405
|
+
</state>
|
406
|
+
</provider>
|
407
|
+
</entry>
|
408
|
+
<entry file="file://$PROJECT_DIR$/lib/capistrano-jspm.rb">
|
409
|
+
<provider selected="true" editor-type-id="text-editor">
|
410
|
+
<state vertical-scroll-proportion="0.0">
|
411
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
412
|
+
<folding />
|
413
|
+
</state>
|
414
|
+
</provider>
|
415
|
+
</entry>
|
416
|
+
<entry file="file://$PROJECT_DIR$/capistrano-jspm.gemspec">
|
417
|
+
<provider selected="true" editor-type-id="text-editor">
|
418
|
+
<state vertical-scroll-proportion="0.35555556">
|
419
|
+
<caret line="8" column="50" selection-start-line="8" selection-start-column="50" selection-end-line="8" selection-end-column="50" />
|
420
|
+
</state>
|
421
|
+
</provider>
|
422
|
+
</entry>
|
423
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
424
|
+
<provider selected="true" editor-type-id="text-editor">
|
425
|
+
<state vertical-scroll-proportion="0.044444446">
|
426
|
+
<caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
427
|
+
</state>
|
428
|
+
</provider>
|
429
|
+
</entry>
|
430
|
+
<entry file="file://$PROJECT_DIR$/lib/capistrano/jspm.rb">
|
431
|
+
<provider selected="true" editor-type-id="text-editor">
|
432
|
+
<state vertical-scroll-proportion="0.044444446">
|
433
|
+
<caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
434
|
+
</state>
|
435
|
+
</provider>
|
436
|
+
</entry>
|
437
|
+
<entry file="file://$PROJECT_DIR$/lib/capistrano-jspm.rb">
|
438
|
+
<provider selected="true" editor-type-id="text-editor">
|
439
|
+
<state vertical-scroll-proportion="0.0">
|
440
|
+
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
441
|
+
<folding />
|
442
|
+
</state>
|
443
|
+
</provider>
|
444
|
+
</entry>
|
445
|
+
<entry file="file://$PROJECT_DIR$/lib/capistrano/tasks/jspm.rake">
|
446
|
+
<provider selected="true" editor-type-id="text-editor">
|
447
|
+
<state vertical-scroll-proportion="0.0">
|
448
|
+
<caret line="25" column="10" selection-start-line="25" selection-start-column="10" selection-end-line="29" selection-end-column="13" />
|
449
|
+
<folding />
|
450
|
+
</state>
|
451
|
+
</provider>
|
452
|
+
</entry>
|
453
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
454
|
+
<provider selected="true" editor-type-id="text-editor">
|
455
|
+
<state vertical-scroll-proportion="0.044444446">
|
456
|
+
<caret line="1" column="0" selection-start-line="1" selection-start-column="0" selection-end-line="1" selection-end-column="0" />
|
457
|
+
<folding />
|
458
|
+
</state>
|
459
|
+
</provider>
|
460
|
+
</entry>
|
461
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
462
|
+
<provider selected="true" editor-type-id="text-editor">
|
463
|
+
<state vertical-scroll-proportion="0.17777778">
|
464
|
+
<caret line="4" column="0" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" />
|
465
|
+
<folding />
|
466
|
+
</state>
|
467
|
+
</provider>
|
468
|
+
</entry>
|
469
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
470
|
+
<provider editor-type-id="MarkdownPreviewEditor">
|
471
|
+
<state />
|
472
|
+
</provider>
|
473
|
+
<provider selected="true" editor-type-id="text-editor">
|
474
|
+
<state vertical-scroll-proportion="0.06132879">
|
475
|
+
<caret line="2" column="4" selection-start-line="2" selection-start-column="4" selection-end-line="2" selection-end-column="4" />
|
476
|
+
<folding />
|
477
|
+
</state>
|
478
|
+
</provider>
|
479
|
+
</entry>
|
480
|
+
</component>
|
481
|
+
</project>
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Drazen Peric
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# Capistrano::Jspm
|
2
|
+
|
3
|
+
Jspm support for Capistrano 3.x
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'capistrano-jspm'
|
11
|
+
gem 'capistrano'
|
12
|
+
```
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install capistrano-jspm
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
Require in `Capfile` to use the default task:
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
require 'capistrano/jspm'
|
28
|
+
```
|
29
|
+
|
30
|
+
The `jspm:install` task will run before `deploy:updated` as part of Capistrano's default deploy,
|
31
|
+
or can be run in isolation with `cap production jspm:install`
|
32
|
+
|
33
|
+
Configurable options, shown here with defaults:
|
34
|
+
|
35
|
+
```ruby
|
36
|
+
set :jspm_roles, :web
|
37
|
+
set :jspm_bin, :jspm
|
38
|
+
```
|
39
|
+
|
40
|
+
### jspm:bundle_sfx
|
41
|
+
|
42
|
+
`bundle_sfx` task is optional, and in order to run it on every deployment, add this to your `deploy.rb` file:
|
43
|
+
|
44
|
+
```ruby
|
45
|
+
before 'deploy:updated', 'jspm:bundle_sfx' do
|
46
|
+
invoke 'jspm:bundle_sfx',
|
47
|
+
'path/for/fromfile/app.js',
|
48
|
+
'path/for/tofile/app.min.js'
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
Configurable options, shown here with defaults:
|
53
|
+
|
54
|
+
```ruby
|
55
|
+
set :jspm_sfx_flags, '--minify'
|
56
|
+
```
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'capistrano-jspm'
|
7
|
+
spec.version = '1.0.0'
|
8
|
+
spec.authors = ['Dražen Perić']
|
9
|
+
spec.email = ['peric.drazhen@gmail.com']
|
10
|
+
spec.description = %q{jspm support for Capistrano 3.x}
|
11
|
+
spec.summary = %q{jspm support for Capistrano 3.x}
|
12
|
+
spec.homepage = 'https://github.com/peric/capistrano-jspm'
|
13
|
+
spec.license = 'MIT'
|
14
|
+
|
15
|
+
spec.files = `git ls-files`.split($/)
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ['lib']
|
19
|
+
|
20
|
+
spec.add_dependency 'capistrano', '~> 3.0'
|
21
|
+
|
22
|
+
spec.add_development_dependency 'rake'
|
23
|
+
end
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
load File.expand_path('../tasks/jspm.rake', __FILE__)
|
@@ -0,0 +1,62 @@
|
|
1
|
+
namespace :jspm do
|
2
|
+
desc <<-DESC
|
3
|
+
Install the current jspm environment. Command is executed withouth any other arguments.y\
|
4
|
+
|
5
|
+
You can override any of these defaults by setting the variables shown below.
|
6
|
+
|
7
|
+
set :jspm_roles, :web
|
8
|
+
set :jspm_bin, :jspm
|
9
|
+
DESC
|
10
|
+
task :install do
|
11
|
+
on roles fetch(:jspm_roles) do
|
12
|
+
within "#{release_path}" do
|
13
|
+
execute fetch(:jspm_bin), 'install'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
before 'deploy:updated', 'jspm:install'
|
19
|
+
|
20
|
+
desc <<-DESC
|
21
|
+
Prepare a bundle for production.\
|
22
|
+
|
23
|
+
This task is completely optional and if you want to run it on every deployment \
|
24
|
+
before deploy:updated, add this to your deploy.rb.
|
25
|
+
|
26
|
+
before 'deploy:updated', 'jspm:bundle_sfx' do
|
27
|
+
invoke 'jspm:bundle_sfx',
|
28
|
+
'path/for/fromfile/app.js',
|
29
|
+
'path/for/tofile/app.min.js'
|
30
|
+
end
|
31
|
+
|
32
|
+
You can override any of these defaults by setting the variables shown below.
|
33
|
+
|
34
|
+
set :jspm_sfx_flags, '--minify'
|
35
|
+
DESC
|
36
|
+
task :bundle_sfx, [:from_file, :to_file] do |task, args|
|
37
|
+
on roles fetch(:jspm_roles) do
|
38
|
+
within "#{release_path}" do
|
39
|
+
unless args[:from_file]
|
40
|
+
raise 'Missing from_file argument.'
|
41
|
+
end
|
42
|
+
unless args[:to_file]
|
43
|
+
raise 'Missing to_file argument.'
|
44
|
+
end
|
45
|
+
|
46
|
+
execute fetch(:jspm_bin),
|
47
|
+
'bundle-sfx',
|
48
|
+
fetch(:jspm_sfx_flags),
|
49
|
+
args[:from_file],
|
50
|
+
args[:to_file]
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
namespace :load do
|
57
|
+
task :defaults do
|
58
|
+
set :jspm_roles, :web
|
59
|
+
set :jspm_bin, :jspm
|
60
|
+
set :jspm_sfx_flags, '--minify'
|
61
|
+
end
|
62
|
+
end
|
metadata
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-jspm
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dražen Perić
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capistrano
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: jspm support for Capistrano 3.x
|
42
|
+
email:
|
43
|
+
- peric.drazhen@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- ".idea/.name"
|
50
|
+
- ".idea/capistrano-jspm.iml"
|
51
|
+
- ".idea/encodings.xml"
|
52
|
+
- ".idea/misc.xml"
|
53
|
+
- ".idea/modules.xml"
|
54
|
+
- ".idea/workspace.xml"
|
55
|
+
- Gemfile
|
56
|
+
- LICENSE.txt
|
57
|
+
- README.md
|
58
|
+
- Rakefile
|
59
|
+
- capistrano-jspm.gemspec
|
60
|
+
- lib/capistrano-jspm.rb
|
61
|
+
- lib/capistrano/jspm.rb
|
62
|
+
- lib/capistrano/jspm/version.rb
|
63
|
+
- lib/capistrano/tasks/jspm.rake
|
64
|
+
homepage: https://github.com/peric/capistrano-jspm
|
65
|
+
licenses:
|
66
|
+
- MIT
|
67
|
+
metadata: {}
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options: []
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubyforge_project:
|
84
|
+
rubygems_version: 2.4.5
|
85
|
+
signing_key:
|
86
|
+
specification_version: 4
|
87
|
+
summary: jspm support for Capistrano 3.x
|
88
|
+
test_files: []
|