Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #106 from A5hleyRich/build-config
Browse files Browse the repository at this point in the history
Build config added
  • Loading branch information
A5hleyRich committed Jul 12, 2015
2 parents 041b2bf + 618c545 commit de3fe98
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.sass-cache
assets/css
assets/js/*.min.js
builds
languages
node_modules
3 changes: 3 additions & 0 deletions build-cfg/config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
$tmp_dir = $parent_dir . '/builds';
$zip_dir = $tmp_dir;
11 changes: 11 additions & 0 deletions build-cfg/filter
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- .DS_Store
- .sass-cache
- .tx
- /assets/sass
- build-cfg
- builds
- languages/*.po
- node_modules
- .gitignore
- Gruntfile.js
- package.json
5 changes: 5 additions & 0 deletions build-cfg/filter.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
chdir( $src_dir );
system( 'npm install' );
system( 'grunt' );
system( 'grunt translate' );
7 changes: 7 additions & 0 deletions build-cfg/version-check.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
$version_checks = array(
"delightful-downloads.php" => array(
'@Version:\s+(.*)\n@' => 'header',
'@define\(\s+\'DEDO_VERSION\',\s+\'(.*?)\'\s+\);@' => 'constant',
)
);

0 comments on commit de3fe98

Please sign in to comment.