Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1107)

Unified Diff: recipe_modules/json/example.resources/cool_script.py

Issue 2909983003: [loader] Make recipe engine support examples/ module subdir (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_modules/json/example.expected/basic.json ('k') | recipe_modules/json/examples/full.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/json/example.resources/cool_script.py
diff --git a/recipe_modules/json/example.resources/cool_script.py b/recipe_modules/json/example.resources/cool_script.py
deleted file mode 100755
index 3c71c7d2574b651a47665ce64f9f9ddcf4771de3..0000000000000000000000000000000000000000
--- a/recipe_modules/json/example.resources/cool_script.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2017 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import sys
-
-def main(argv):
- with open(argv[2], 'w') as f:
- f.write(argv[1])
- return 0
-
-if __name__ == '__main__':
- sys.exit(main(sys.argv))
« no previous file with comments | « recipe_modules/json/example.expected/basic.json ('k') | recipe_modules/json/examples/full.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698